i2pd-2.6.0-r3.service 638 B

12345678910111213141516171819202122
  1. [Unit]
  2. Description=C++ daemon for accessing the I2P network
  3. After=network.target
  4. [Service]
  5. Type=forking
  6. Restart=on-abnormal
  7. PIDFile=/run/i2pd/i2pd.pid
  8. User=i2pd
  9. Group=i2pd
  10. LimitNOFILE=4096
  11. PermissionsStartOnly=yes
  12. ExecStartPre=/bin/mkdir -p /run/i2pd
  13. ExecStartPre=/bin/chown i2pd:i2pd /run/i2pd
  14. ExecStartPre=/bin/touch /run/i2pd/i2pd.pid /var/log/i2pd.log
  15. ExecStartPre=/bin/chown i2pd:i2pd /run/i2pd/i2pd.pid /var/log/i2pd.log
  16. ExecStart=/usr/bin/i2pd --daemon --service --pidfile=/run/i2pd/i2pd.pid --log=file --logfile=/var/log/i2pd.log --conf=/etc/i2pd/i2pd.conf --tunconf=/etc/i2pd/tunnels.conf
  17. [Install]
  18. WantedBy=multi-user.target