mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2024-11-16 00:12:43 +00:00
62cd9fffa3
Rework CPU extensions detection code and build with AES-NI and AVX support by default
28 lines
934 B
Diff
28 lines
934 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: 2020-05-25
|
|
|
|
Index: i2pd/contrib/i2pd.service
|
|
===================================================================
|
|
--- i2pd.orig/contrib/i2pd.service
|
|
+++ i2pd/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=/run/i2pd/i2pd.pid --logfile=/var/log/i2pd/i2pd.log --daemon --service
|
|
ExecReload=/bin/sh -c "kill -HUP $MAINPID"
|