Просмотр исходного кода

contrib/init: .initd files updated with sceenlog

aggstam 3 лет назад
Родитель
Сommit
5309f34c7b

+ 3 - 1
contrib/init/darkfid.initd

@@ -19,7 +19,9 @@ start() {
 			--user $USER \
 			--env HOME="${PWHOME:-/home/$USER}" \
 			--name darkfid \
-			--exec /usr/bin/screen -- -D -m -S darkfid /usr/local/bin/darkfid
+			--exec /usr/bin/screen -- \
+				    -L -Logfile /home/darkfid/screenlog.0 \
+				    -d -m -S darkfid /usr/local/bin/darkfid
 	eend $?
 }
 

+ 3 - 1
contrib/init/faucetd.initd

@@ -19,7 +19,9 @@ start() {
 			--user $USER \
 			--env HOME="${PWHOME:-/home/$USER}" \
 			--name faucetd \
-			--exec /usr/bin/screen -- -D -m -S faucetd /usr/local/bin/faucetd
+            --exec /usr/bin/screen -- \
+				-L -Logfile /home/faucetd/screenlog.0 \
+				-d -m -S faucetd /usr/local/bin/faucetd
 	eend $?
 }
 

+ 3 - 1
contrib/init/ircd.initd

@@ -19,7 +19,9 @@ start() {
 			--user $USER \
 			--env HOME="${PWHOME:-/home/$USER}" \
 			--name ircd \
-			--exec /usr/bin/screen -- -D -m -S ircd /usr/local/bin/ircd
+            --exec /usr/bin/screen -- \
+				    -L -Logfile /home/ircd/screenlog.0 \
+				    -d -m -S ircd /usr/local/bin/ircd
 	eend $?
 }
 

+ 3 - 1
contrib/init/lilith.initd

@@ -19,7 +19,9 @@ start() {
 			--user $USER \
 			--env HOME="${PWHOME:-/home/$USER}" \
 			--name lilith \
-			--exec /usr/bin/screen -- -D -m -S lilith /usr/local/bin/lilith
+			--exec /usr/bin/screen -- \
+				    -L -Logfile /home/lilith/screenlog.0 \
+				    -d -m -S lilith /usr/local/bin/lilith
 	eend $?
 }
 

+ 3 - 1
contrib/init/taud.initd

@@ -19,7 +19,9 @@ start() {
 			--user $USER \
 			--env HOME="${PWHOME:-/home/$USER}" \
 			--name taud \
-			--exec /usr/bin/screen -- -D -m -S taud /usr/local/bin/taud
+			--exec /usr/bin/screen -- \
+				    -L -Logfile /home/taud/screenlog.0 \
+				    -d -m -S taud /usr/local/bin/taud
 	eend $?
 }
 

+ 3 - 1
contrib/init/wikid.initd

@@ -19,7 +19,9 @@ start() {
 			--user $USER \
 			--env HOME="${PWHOME:-/home/$USER}" \
 			--name darkwikid \
-			--exec /usr/bin/screen -- -D -m -S darkwikid /usr/local/bin/darkwikid
+			--exec /usr/bin/screen -- \
+				    -L -Logfile /home/wiki/screenlog.0 \
+				    -d -m -S darkwikid /usr/local/bin/darkwikid
 	eend $?
 }