mirror of
https://github.com/YunoHost-Apps/movim_ynh.git
synced 2024-09-03 19:46:19 +02:00
movim.init now has mysql has dependencie
This commit is contained in:
parent
b165092e2b
commit
9bf3de6274
4 changed files with 3 additions and 4 deletions
1
TODO
1
TODO
|
@ -2,4 +2,3 @@
|
|||
- Sysvinit script syslog
|
||||
- Log to /var/log/movim/
|
||||
- write systemd service to /etc/systemd/system
|
||||
- autostart movim.init
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/sh
|
||||
### BEGIN INIT INFO
|
||||
# Provides: movim
|
||||
# Required-Start: $remote_fs $syslog
|
||||
# Required-Start: $remote_fs $syslog mysql
|
||||
# Required-Stop: $remote_fs $syslog
|
||||
# Default-Start: 2 3 4 5
|
||||
# Default-Stop: 0 1 6
|
||||
|
|
|
@ -112,7 +112,7 @@ then
|
|||
else
|
||||
sudo cp ../conf/movim.init /etc/init.d/movim
|
||||
sudo chmod 755 /etc/init.d/movim
|
||||
sudo update-rc.d movim defaults S90
|
||||
sudo update-rc.d movim defaults
|
||||
sudo /etc/init.d/movim start
|
||||
fi
|
||||
|
||||
|
|
|
@ -57,7 +57,7 @@ else
|
|||
sudo /etc/init.d/movim stop
|
||||
sudo cp ../conf/movim.init /etc/init.d/movim
|
||||
sudo chmod 755 /etc/init.d/movim
|
||||
sudo update-rc.d movim defaults S90
|
||||
sudo update-rc.d movim defaults
|
||||
sudo /etc/init.d/movim start
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue