mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-27 11:17:49 +02:00
systemd unit, debian patch fix, makefile last-dist added, package log&pid folder edited
This commit is contained in:
parent
4b983300fe
commit
8b0ce30dfc
14 changed files with 69 additions and 19 deletions
7
debian/i2pd.openrc
vendored
7
debian/i2pd.openrc
vendored
|
@ -1,7 +1,7 @@
|
|||
#!/sbin/openrc-run
|
||||
|
||||
pidfile="/var/run/i2pd.pid"
|
||||
logfile="/var/log/i2pd.log"
|
||||
pidfile="/var/run/i2pd/i2pd.pid"
|
||||
logfile="/var/log/i2pd/i2pd.log"
|
||||
mainconf="/etc/i2pd/i2pd.conf"
|
||||
tunconf="/etc/i2pd/tunnels.conf"
|
||||
|
||||
|
@ -32,9 +32,6 @@ start_pre() {
|
|||
checkpath -f -o i2pd:adm $logfile
|
||||
checkpath -f -o i2pd:adm $pidfile
|
||||
|
||||
if [ -n "$I2PD_PORT" -a "$I2PD_PORT" -gt 0 ]; then
|
||||
command_args="$command_args --port=$I2PD_PORT"
|
||||
fi
|
||||
if [ -n "$DAEMON_OPTS" ]; then
|
||||
command_args="$command_args $DAEMON_OPTS"
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue