From 9bf3de627481ff4777a508f29c6e30e903a4702c Mon Sep 17 00:00:00 2001 From: src386 Date: Thu, 10 Sep 2015 16:19:54 +0200 Subject: [PATCH] movim.init now has mysql has dependencie --- TODO | 1 - conf/movim.init | 2 +- scripts/install | 2 +- scripts/upgrade | 2 +- 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/TODO b/TODO index 7b7caca..d217700 100644 --- a/TODO +++ b/TODO @@ -2,4 +2,3 @@ - Sysvinit script syslog - Log to /var/log/movim/ - write systemd service to /etc/systemd/system -- autostart movim.init diff --git a/conf/movim.init b/conf/movim.init index aa36030..68db482 100644 --- a/conf/movim.init +++ b/conf/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 diff --git a/scripts/install b/scripts/install index 5b2d59e..1017c46 100644 --- a/scripts/install +++ b/scripts/install @@ -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 diff --git a/scripts/upgrade b/scripts/upgrade index 7bba48f..ee2c1ca 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -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