mirror of
https://github.com/YunoHost-Apps/seafile_ynh.git
synced 2024-09-03 20:26:01 +02:00
parent
5320981c06
commit
fa5724a8e6
2 changed files with 11 additions and 12 deletions
|
@ -1,5 +1,14 @@
|
||||||
#!/bin/bash
|
#!/bin/sh
|
||||||
|
### BEGIN INIT INFO
|
||||||
|
# Provides: seafile-server
|
||||||
|
# Should-Start: seafile-server
|
||||||
|
# Required-Start: $all
|
||||||
|
# Required-Stop:
|
||||||
|
# Default-Start: 2 3 4 5
|
||||||
|
# Default-Stop: 0 1 6
|
||||||
|
# Short-Description: start seafile-server at boot time
|
||||||
|
### END INIT INFO
|
||||||
|
#
|
||||||
# Change the value of "user" to your linux user name
|
# Change the value of "user" to your linux user name
|
||||||
user=root
|
user=root
|
||||||
|
|
||||||
|
|
|
@ -1,10 +0,0 @@
|
||||||
start on (runlevel [2345])
|
|
||||||
stop on (runlevel [016])
|
|
||||||
|
|
||||||
pre-start script
|
|
||||||
/etc/init.d/seafile-server start
|
|
||||||
end script
|
|
||||||
|
|
||||||
post-stop script
|
|
||||||
/etc/init.d/seafile-server stop
|
|
||||||
end script
|
|
Loading…
Reference in a new issue