mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-29 12:17:49 +02:00
Added systemd support for debian package
This commit is contained in:
parent
a8778e358d
commit
17a9c58a63
3 changed files with 19 additions and 1 deletions
17
debian/i2pd.service
vendored
Normal file
17
debian/i2pd.service
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
[Unit]
|
||||
Description=I2P Router written in C++
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
EnvironmentFile=-/etc/default/i2pd
|
||||
User=i2pd
|
||||
Group=i2pd
|
||||
ExecStart=/usr/sbin/i2pd --pidfile=/var/run/i2pd/i2pd.pid --service --conf=/etc/i2pd/i2pd.conf --tunconf=/etc/i2pd/tunnels.conf ${DAEMON_OPTS}
|
||||
Restart=on-failure
|
||||
|
||||
# If you have problems with hunging i2pd, you can try enable this
|
||||
#LimitNOFILE=4096
|
||||
PrivateDevices=yes
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Add table
Add a link
Reference in a new issue