From 42ee6e835a4fecdb297cb87c9a3103f523bf447e Mon Sep 17 00:00:00 2001 From: Roman Gogolev Date: Tue, 26 Sep 2023 17:41:26 +0300 Subject: [PATCH] add torrserver scripts --- install/alpine-torrserver-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install/alpine-torrserver-install.sh b/install/alpine-torrserver-install.sh index d4771547..cdcbb346 100644 --- a/install/alpine-torrserver-install.sh +++ b/install/alpine-torrserver-install.sh @@ -31,11 +31,11 @@ msg_info "Creating Service" cat </etc/init.d/torrserver #!/sbin/openrc-run -name="busybox $RC_SVCNAME" +name="busybox \$RC_SVCNAME" command="/opt/torrserver/TorrServer-linux-amd64" command_args="--port 8090 --logpath /var/log/torrserver.log --path /opt/torrserver" command_user="torrserver:torrserver" -pidfile="/run/$SVCNAME.pid" +pidfile="/run/\$SVCNAME.pid" command_background=true depend() {