summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2025-03-20 17:05:55 +0000
committerdakkar <dakkar@thenautilus.net>2025-03-20 17:05:55 +0000
commit367b707cda8bc5177082806e962cf6aa9b06582e (patch)
tree82a902a06caa6a6479fcee191862e32d6483c451
parentstyle the new overground lines (diff)
downloadHomePanel-master.tar.gz
HomePanel-master.tar.bz2
HomePanel-master.zip
use supervisorHEADmaster
-rwxr-xr-xhomepanel.openrc6
1 files changed, 5 insertions, 1 deletions
diff --git a/homepanel.openrc b/homepanel.openrc
index 72a34a6..1fd86c5 100755
--- a/homepanel.openrc
+++ b/homepanel.openrc
@@ -3,12 +3,16 @@
thisdir="$(dirname "$(readlink -f "$1")")"
homepanel_config_file="${thisdir}/homepanel.conf"
+supervisor=supervise-daemon
+respawn_delay=3
+respawn_max=2
+respawn_period=10
+
description="Home info panel"
directory="$thisdir"
command="/usr/bin/env PERL5LIB='${thisdir}/local/lib/perl5' PATH='/home/dakkar/perl5/perlbrew/perls/perl-5.36.0/bin:/bin:/usr/bin' ./driver-async.pl"
command_args="$homepanel_config_file"
pidfile="${thisdir}/homepanel.pid"
-command_background=true
command_user=dakkar
output_log="${thisdir}/homepanel.out"
error_log="${thisdir}/homepanel.err"