From ceb629a90a30d15d830add07e509dbfea3c7bbd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juhani=20Krekel=C3=A4?= Date: Mon, 16 Jul 2018 14:02:56 +0000 Subject: [PATCH] Better OpenRC script --- lewdfingerd.openrc-example | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lewdfingerd.openrc-example b/lewdfingerd.openrc-example index ed33452..c58ce77 100755 --- a/lewdfingerd.openrc-example +++ b/lewdfingerd.openrc-example @@ -1,11 +1,12 @@ #!/sbin/openrc-run +depend() { + need net +} + command=/usr/local/bin/setruid command_args="lewdfingerd /usr/local/bin/lewdfingerd" pidfile=/var/run/${RC_SVCNAME}.pid # We don't create a PID file nor do we background command_background=true - -# We don't change our group but we do change our user -command_user="root:lewdfingerd"