mirror of
https://github.com/owntracks/recorder.git
synced 2024-11-16 02:18:27 -07:00
Pass the standard MQTT topic in the systemd unit
Add the standard OwnTracks MQTT topic as the first argument to `ot-recorder` in the service file. This provides a usable experience out of the box (otherwise the service file will fail with a help message).
This commit is contained in:
parent
997573828b
commit
579f453087
@ -16,7 +16,7 @@ Description=OwnTracks Recorder
|
||||
Type=simple
|
||||
User=owntracks
|
||||
WorkingDirectory=/
|
||||
ExecStart=/usr/sbin/ot-recorder
|
||||
ExecStart=/usr/sbin/ot-recorder 'owntracks/+/+'
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
Loading…
Reference in New Issue
Block a user