1
0
Fork 0
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:
src386 2015-09-10 16:19:54 +02:00
parent b165092e2b
commit 9bf3de6274
4 changed files with 3 additions and 4 deletions

1
TODO
View file

@ -2,4 +2,3 @@
- Sysvinit script syslog
- Log to /var/log/movim/
- write systemd service to /etc/systemd/system
- autostart movim.init

View file

@ -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

View file

@ -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

View file

@ -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