From 2533b49f48e1d359a08378bf73a7e025235a01ad Mon Sep 17 00:00:00 2001 From: Magnus Feuer Date: Sat, 30 Jan 2016 19:42:45 -0800 Subject: Not really working. But getting close --- scripts/rvi.init.ubuntu | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'scripts') diff --git a/scripts/rvi.init.ubuntu b/scripts/rvi.init.ubuntu index a4b62e8..9cd4e59 100755 --- a/scripts/rvi.init.ubuntu +++ b/scripts/rvi.init.ubuntu @@ -12,8 +12,8 @@ # ### BEGIN INIT INFO # Provides: rvi -# Required-Start: $networking $syslog -# Required-Stop: $networking $syslog +# Required-Start: $network $syslog $remote_fs +# Required-Stop: $network $syslog $remote_fs # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Start/Stop RVI node at boot time @@ -21,8 +21,7 @@ ### END INIT INFO export PATH="/bin/:/usr/bin:/sbin:/usr/sbin" -export HOME=/tmp/rvi -install -d -D --mode=0755 ${HOME} +export HOME=/usr/lib/rvi_core . /lib/lsb/init-functions set -e -- cgit v1.2.1