i2pd/debian/patches/02-fix-1210.patch
Михаил Подивилов fdb0ce6703 I2P -> .NET
2019-05-11 18:25:50 +03:00

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