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