Package: owfs / 3.2p3+dfsg1-2

deb-specific-systemd-use-conffile.patch Patch series | download
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
Use /etc/owfs.conf for the configuration of all daemons
--- a/src/scripts/systemd/owfs.service.in
+++ b/src/scripts/systemd/owfs.service.in
@@ -5,7 +5,7 @@
 [Service]
 Type=notify
 NotifyAccess=all
-ExecStart=@bindir@/owfs --server=127.0.0.1 --allow_other %t/owfs
+ExecStart=@bindir@/owfs -c /etc/owfs.conf --allow_other %t/owfs
 ExecStop=/usr/bin/umount %t/owfs
 RuntimeDirectory=owfs
 
--- a/src/scripts/systemd/owftpd.service.in
+++ b/src/scripts/systemd/owftpd.service.in
@@ -5,9 +5,9 @@
 [Service]
 Type=notify
 NotifyAccess=all
-ExecStart=@bindir@/owftpd --foreground --server=127.0.0.1
-User=ow
-Group=ow
+ExecStart=@bindir@/owftpd --foreground -c /etc/owfs.conf
+User=Debian-ow
+Group=Debian-ow
 
 [Install]
 WantedBy=multi-user.target
--- a/src/scripts/systemd/owhttpd.service.in
+++ b/src/scripts/systemd/owhttpd.service.in
@@ -6,9 +6,9 @@
 [Service]
 Type=notify
 NotifyAccess=all
-ExecStart=@bindir@/owhttpd --foreground --server=127.0.0.1
-User=ow
-Group=ow
+ExecStart=@bindir@/owhttpd --foreground -c /etc/owfs.conf
+User=Debian-ow
+Group=Debian-ow
 
 [Install]
 WantedBy=multi-user.target
--- a/src/scripts/systemd/owserver.service.in
+++ b/src/scripts/systemd/owserver.service.in
@@ -5,10 +5,10 @@
 [Service]
 Type=notify
 NotifyAccess=all
-ExecStart=@bindir@/owserver --w1
+ExecStart=@bindir@/owserver -c /etc/owfs.conf
 Restart=on-failure
-#User=ow
-#Group=ow
+#User=Debian-ow
+#Group=Debian-ow
 
 [Install]
 WantedBy=multi-user.target