From 355469b22b3fc4071e468ff371e96953bf140373 Mon Sep 17 00:00:00 2001 From: dakkar Date: Wed, 5 Jan 2022 10:34:32 +0000 Subject: init script --- media-control.openrc | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 media-control.openrc diff --git a/media-control.openrc b/media-control.openrc new file mode 100755 index 0000000..83dcc89 --- /dev/null +++ b/media-control.openrc @@ -0,0 +1,20 @@ +#!/sbin/openrc-run + +thisdir="$(dirname "$(readlink -f "$1")")" + +description="Media Control" +command="raku media-control.raku" +command_args="$homepanel_config_file" +pidfile="${thisdir}/media-control.pid" +command_background=true +command_user=dakkar +output_log="${thisdir}/log.out" +error_log="${thisdir}/log.err" +directory="$thisdir" +name="media-control" +procname="raku" + +depend() { + need localmount net + after bootmisc +} -- cgit v1.2.3