summarylogtreecommitdiffstats
path: root/systemd-config.patch
blob: c741a239664fe6a3fd5ebbe19c674eb074f8f759 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
diff --git a/config b/config
new file mode 100644
index 0000000..f0d2bfb
--- /dev/null
+++ b/config
@@ -0,0 +1 @@
+OPTIONS=
diff --git a/hide.me@.service b/hide.me@.service
index b32902f..46b44ef 100644
--- a/hide.me@.service
+++ b/hide.me@.service
@@ -6,9 +6,10 @@ DefaultDependencies=yes
 
 [Service]
 Type=notify
-ExecStart=/opt/hide.me/hide.me connect %i
+ExecStart=/opt/hide.me/hide.me $OPTIONS connect %i
 WorkingDirectory=/opt/hide.me
 ReadWritePaths=/opt/hide.me /etc
+EnvironmentFile=/opt/hide.me/config
 TimeoutStopSec=30
 Restart=always
 RestartSec=5s
@@ -30,4 +31,4 @@ Group=root
 LimitNOFILE=64
 
 [Install]
-WantedBy=multi-user.target
\ No newline at end of file
+WantedBy=multi-user.target