Codebase list rust-subtle / 366901b
gps-share: improve systemd service definition Henry-Nicolas Tourneur 2 years ago
4 changed file(s) with 2 addition(s) and 9 deletion(s). Raw diff Collapse all Expand all
22 * Package gps-share 0.3.1 from crates.io using debcargo 2.4.4
33 * Initial release (Closes: #988659)
44
5 -- Henry-Nicolas Tourneur <debian@nilux.be> Fri, 27 Aug 2021 21:04:26 +0000
5 -- Henry-Nicolas Tourneur <debian@nilux.be> Mon, 30 Aug 2021 19:13:29 +0000
+0
-4
src/gps-share/debian/gps-share.default less more
0 # Devices gps-share should collect to at boot time.
1 # They need to be read/writeable, either by user gps-share or the group dialout.
2 DEVICES=""
3
33 Requires=gps-share.socket
44
55 [Service]
6 EnvironmentFile=-/etc/default/gps-share
7 ExecStart=/usr/bin/gps-share --socket-path /run/gps-share.sock $DEVICES
6 ExecStart=/usr/bin/gps-share --socket-path /run/gps-share.sock
87 Restart=on-failure
98
109 [Install]
00 [Unit]
11 Description=Utility to share your GPS device on local network
2 PartOf=gps-share.service
32
43 [Socket]
54 ListenStream=/run/gps-share.sock
65 ListenStream=[::1]:10110
76 ListenStream=127.0.0.1:10110
8 SocketMode=0666
97
108 [Install]
119 WantedBy=sockets.target