summarylogtreecommitdiffstats
path: root/systemd-patch.diff
blob: e665584cd6e05fe4085c2965ed7f7abb0a69d447 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
diff -ur openvpn-2.4.1/distro/systemd/openvpn-client@.service.in openvpn-2.4.1-patched/distro/systemd/openvpn-client@.service.in
--- openvpn-2.4.1/distro/systemd/openvpn-client@.service.in	2017-03-22 20:04:21.000000000 +0430
+++ openvpn-2.4.1-patched/distro/systemd/openvpn-client@.service.in	2017-04-09 22:38:33.205789531 +0430
@@ -7,7 +7,7 @@
 Documentation=https://community.openvpn.net/openvpn/wiki/HOWTO
 
 [Service]
-Type=notify
+Type=simple
 PrivateTmp=true
 WorkingDirectory=/etc/openvpn/client
 ExecStart=@sbindir@/openvpn --suppress-timestamps --nobind --config %i.conf
diff -ur openvpn-2.4.1/distro/systemd/openvpn-server@.service.in openvpn-2.4.1-patched/distro/systemd/openvpn-server@.service.in
--- openvpn-2.4.1/distro/systemd/openvpn-server@.service.in	2017-03-22 20:04:21.000000000 +0430
+++ openvpn-2.4.1-patched/distro/systemd/openvpn-server@.service.in	2017-04-09 22:39:31.110253972 +0430
@@ -8,6 +8,7 @@
 
 [Service]
 Type=notify
+Restart=always
 PrivateTmp=true
 WorkingDirectory=/etc/openvpn/server
 ExecStart=@sbindir@/openvpn --status %t/openvpn-server/status-%i.log --status-version 2 --suppress-timestamps --config %i.conf