Browse Source

Create run dir for i2pd process in systemd unit file

pull/894/head
kayrus 8 years ago
parent
commit
4267063dba
  1. 4
      contrib/debian/i2pd.service

4
contrib/debian/i2pd.service vendored

@ -5,7 +5,9 @@ After=network.target @@ -5,7 +5,9 @@ After=network.target
[Service]
User=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
ExecReload=/bin/kill -HUP $MAINPID
PIDFile=/var/run/i2pd/i2pd.pid

Loading…
Cancel
Save