1
0
mirror of https://github.com/falk-werner/webfuse-example synced 2025-12-17 20:01:50 +00:00

switched init system to s6-overlay

This commit is contained in:
Falk Werner
2020-04-11 14:04:53 +02:00
parent 64b9137961
commit d4ea664d36
4 changed files with 39 additions and 22 deletions

View File

@@ -0,0 +1,4 @@
#!/usr/bin/execlineb -P
s6-setuidgid user
/usr/local/bin/webfused -f /etc/webfused.conf

27
etc/webfused.conf Normal file
View File

@@ -0,0 +1,27 @@
# Webfuse deamon configuration file
version = { major = 1, minor = 0 }
server:
{
vhost_name = "localhost"
port = 8080
document_root = "/var/www"
}
filesystems:
(
{name = "test", mount_point = "/tmp/test" }
)
log:
{
provider: "syslog"
level: "all"
settings:
{
ident: "webfused"
facility: "daemon"
log_pid: true
}
}