mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-10 08:00:38 +03:00
26 lines
818 B
Diff
26 lines
818 B
Diff
Description: fix #1210
|
|
Disables two options, which not presented in old systemd versions
|
|
Author: r4sas <r4sas@i2pmail.org>
|
|
|
|
Bug: https://github.com/PurpleI2P/i2pd/issues/1210
|
|
Reviewed-By: r4sas <r4sas@i2pmail.org>
|
|
Last-Update: 2018-08-25
|
|
|
|
--- a/contrib/i2pd.service
|
|
+++ b/contrib/i2pd.service
|
|
@@ -6,10 +6,10 @@ After=network.target
|
|
[Service]
|
|
User=i2pd
|
|
Group=i2pd
|
|
-RuntimeDirectory=i2pd
|
|
-RuntimeDirectoryMode=0700
|
|
-LogsDirectory=i2pd
|
|
-LogsDirectoryMode=0700
|
|
+#RuntimeDirectory=i2pd
|
|
+#RuntimeDirectoryMode=0700
|
|
+#LogsDirectory=i2pd
|
|
+#LogsDirectoryMode=0700
|
|
Type=forking
|
|
ExecStart=/usr/sbin/i2pd --conf=/etc/i2pd/i2pd.conf --tunconf=/etc/i2pd/tunnels.conf --tunnelsdir=/etc/i2pd/tunnels.conf.d --pidfile=/var/run/i2pd/i2pd.pid --logfile=/var/log/i2pd/i2pd.log --daemon --service
|
|
ExecReload=/bin/kill -HUP $MAINPID
|