aboutsummaryrefslogtreecommitdiff
path: root/seafile/seafile.initd
diff options
context:
space:
mode:
Diffstat (limited to 'seafile/seafile.initd')
-rw-r--r--seafile/seafile.initd16
1 files changed, 0 insertions, 16 deletions
diff --git a/seafile/seafile.initd b/seafile/seafile.initd
deleted file mode 100644
index b92a765..0000000
--- a/seafile/seafile.initd
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/sbin/openrc-run
-
-depend() {
- need net
-}
-
-start() {
- ebegin "Starting Seafile $instance instance"
- start-stop-daemon --chdir /var/lib/seafile/$instance --user $seafile_user \
- --group $seafile_group /usr/bin/seafile-admin start $seafile_opts
-}
-
-stop() {
- ebegin "Stopping Seafile $instance instance"
- start-stop-daemon --chdir /var/lib/seafile/$instance /usr/bin/seafile-admin stop
-}