From 76b4ea3f3841fe6c2fb1128e8e2a4bb406d4f61d Mon Sep 17 00:00:00 2001 From: Roman Gogolev Date: Tue, 26 Sep 2023 18:11:50 +0300 Subject: [PATCH] add torrserver scripts --- install/alpine-torrserver-install.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/install/alpine-torrserver-install.sh b/install/alpine-torrserver-install.sh index cdcbb346..d3bc3718 100644 --- a/install/alpine-torrserver-install.sh +++ b/install/alpine-torrserver-install.sh @@ -31,7 +31,7 @@ msg_info "Creating Service" cat </etc/init.d/torrserver #!/sbin/openrc-run -name="busybox \$RC_SVCNAME" +name="TorrServer" command="/opt/torrserver/TorrServer-linux-amd64" command_args="--port 8090 --logpath /var/log/torrserver.log --path /opt/torrserver" command_user="torrserver:torrserver" @@ -46,5 +46,9 @@ $STD chmod a+x /etc/init.d/torrserver $STD rc-update add torrserver msg_info "Created Service" +msg_info "Starting Service" +$STD rc-service torrservice start +msg_info "Started Service" + motd_ssh customize \ No newline at end of file