You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-vpn/i2pd/files/i2pd-2.6.0-r3.service

22 lines
638 B

[Unit]
Description=C++ daemon for accessing the I2P network
After=network.target
[Service]
Type=forking
Restart=on-abnormal
PIDFile=/run/i2pd/i2pd.pid
User=i2pd
Group=i2pd
LimitNOFILE=4096
PermissionsStartOnly=yes
ExecStartPre=/bin/mkdir -p /run/i2pd
ExecStartPre=/bin/chown i2pd:i2pd /run/i2pd
ExecStartPre=/bin/touch /run/i2pd/i2pd.pid /var/log/i2pd.log
ExecStartPre=/bin/chown i2pd:i2pd /run/i2pd/i2pd.pid /var/log/i2pd.log
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
[Install]
WantedBy=multi-user.target