diff options
Diffstat (limited to 'homepanel.openrc')
-rwxr-xr-x | homepanel.openrc | 6 |
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" |