Browse Source

Merge pull request #894 from kayrus/kayrus/run_systemd

Create run dir for i2pd process in systemd unit file
pull/900/head
R4SAS 8 years ago committed by GitHub
parent
commit
1b97f9b6c9
  1. 4
      contrib/debian/i2pd.service

4
contrib/debian/i2pd.service vendored

@ -5,7 +5,9 @@ After=network.target
[Service] [Service]
User=i2pd User=i2pd
Group=i2pd Group=i2pd
Type=forking RuntimeDirectory=i2pd
RuntimeDirectoryMode=0700
Type=simple
ExecStart=/usr/sbin/i2pd --conf=/etc/i2pd/i2pd.conf --pidfile=/var/run/i2pd/i2pd.pid --logfile=/var/log/i2pd/i2pd.log --daemon --service ExecStart=/usr/sbin/i2pd --conf=/etc/i2pd/i2pd.conf --pidfile=/var/run/i2pd/i2pd.pid --logfile=/var/log/i2pd/i2pd.log --daemon --service
ExecReload=/bin/kill -HUP $MAINPID ExecReload=/bin/kill -HUP $MAINPID
PIDFile=/var/run/i2pd/i2pd.pid PIDFile=/var/run/i2pd/i2pd.pid

Loading…
Cancel
Save