diff options
author | Jose V Beneyto <sepen@crux.nu> | 2012-10-18 16:14:19 +0200 |
---|---|---|
committer | Jose V Beneyto <sepen@crux.nu> | 2012-10-18 16:14:19 +0200 |
commit | f139f7fdd317a9d61a4d3a5acd91dac31ea4d520 (patch) | |
tree | f359f261429568c271ca421c51f37cee5321089e /webfs/webfsd | |
parent | 35443f0ba6997492be0e8fae2595403691f0f2a5 (diff) | |
download | opt-f139f7fdd317a9d61a4d3a5acd91dac31ea4d520.tar.gz opt-f139f7fdd317a9d61a4d3a5acd91dac31ea4d520.tar.xz |
webfs: resurrected and new maintainer
Diffstat (limited to 'webfs/webfsd')
-rwxr-xr-x | webfs/webfsd | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/webfs/webfsd b/webfs/webfsd new file mode 100755 index 000000000..2e54e42d8 --- /dev/null +++ b/webfs/webfsd @@ -0,0 +1,23 @@ +#!/bin/sh +# +# /etc/rc.d/httpd: start/stop webfs http daemon +# + +case $1 in +start) + /usr/bin/webfsd -u www -g www -r /var/www -p 80 -f index.html + ;; +stop) + killall -q /usr/bin/webfsd + ;; +restart) + $0 stop + sleep 2 + $0 start + ;; +*) + echo "usage: $0 [start|stop|restart]" + ;; +esac + +# End of file |