mirror of
https://github.com/theotherp/nzbhydra2.git
synced 2026-02-06 11:17:18 +00:00
Update start scripts to use python wrapper on linux
This commit is contained in:
parent
078a81493f
commit
0dff187e5e
@ -13,7 +13,7 @@ WorkingDirectory=/opt/nzbhydra2
|
||||
# NZBHydra stores its data in a "data" subfolder of its installation path
|
||||
# To change that set the --datafolder parameter:
|
||||
# --datafolder /var/local/lib/nzbhydra
|
||||
ExecStart=/opt/nzbhydra2/nzbhydra2 --nobrowser
|
||||
ExecStart=python3 /opt/nzbhydra2/nzbhydra2wrapperPy3.py --nobrowser
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
|
||||
@ -1,4 +1,7 @@
|
||||
#! /bin/sh
|
||||
|
||||
# NOTE: Needs to be adapted to run nzbhydra2wrapperPy3.py as the binary file "nzbhydra2" does not exist anymore
|
||||
|
||||
### BEGIN INIT INFO
|
||||
# Provides: NZBHydra
|
||||
# Required-Start: $local_fs $network $remote_fs
|
||||
|
||||
@ -30,6 +30,6 @@
|
||||
# Set bind port
|
||||
# NH_PORT=8084
|
||||
|
||||
# Use an alternate Python
|
||||
# Use an alternate java
|
||||
# JAVA_BIN=/usr/local/bin/java
|
||||
|
||||
|
||||
@ -12,6 +12,8 @@
|
||||
# Description: starts instance of nzbhydra using start-stop-daemon
|
||||
### END INIT INFO
|
||||
|
||||
# NOTE: Needs to be adapted to run nzbhydra2wrapperPy3.py as the binary file "nzbhydra2" does not exist anymore
|
||||
|
||||
#to debug run like this: env -i NH_USER="ubuntu" NH_HOME="/home/ubuntu/upstart" NH_PIDFILE="/home/ubuntu/upstart/nzbhydra2.pid" init.ubuntu start
|
||||
|
||||
NAME=nzbhydra2
|
||||
|
||||
@ -13,7 +13,7 @@ WorkingDirectory=/opt/nzbhydra2
|
||||
# NZBHydra stores its data in a "data" subfolder of its installation path
|
||||
# To change that set the --datafolder parameter:
|
||||
# --datafolder /var/local/lib/nzbhydra
|
||||
ExecStart=/opt/nzbhydra2/nzbhydra2 --nobrowser
|
||||
ExecStart=python3 /opt/nzbhydra2/nzbhydra2wrapperPy3.py --nobrowser
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
|
||||
@ -1,4 +1,7 @@
|
||||
#! /bin/sh
|
||||
|
||||
# NOTE: Needs to be adapted to run nzbhydra2wrapperPy3.py as the binary file "nzbhydra2" does not exist anymore
|
||||
|
||||
### BEGIN INIT INFO
|
||||
# Provides: NZBHydra
|
||||
# Required-Start: $local_fs $network $remote_fs
|
||||
|
||||
@ -30,6 +30,6 @@
|
||||
# Set bind port
|
||||
# NH_PORT=8084
|
||||
|
||||
# Use an alternate Python
|
||||
# Use an alternate java
|
||||
# JAVA_BIN=/usr/local/bin/java
|
||||
|
||||
|
||||
@ -12,6 +12,8 @@
|
||||
# Description: starts instance of nzbhydra using start-stop-daemon
|
||||
### END INIT INFO
|
||||
|
||||
# NOTE: Needs to be adapted to run nzbhydra2wrapperPy3.py as the binary file "nzbhydra2" does not exist anymore
|
||||
|
||||
#to debug run like this: env -i NH_USER="ubuntu" NH_HOME="/home/ubuntu/upstart" NH_PIDFILE="/home/ubuntu/upstart/nzbhydra2.pid" init.ubuntu start
|
||||
|
||||
NAME=nzbhydra2
|
||||
|
||||
Loading…
Reference in New Issue
Block a user