mirror of https://github.com/tteck/Proxmox.git
add torrserver scripts
This commit is contained in:
parent
f6a3fc0440
commit
42ee6e835a
|
@ -31,11 +31,11 @@ msg_info "Creating Service"
|
|||
cat <<EOF >/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() {
|
||||
|
|
Loading…
Reference in New Issue