1
0
mirror of https://github.com/bgp/stayrtr.git synced 2024-05-06 15:54:54 +00:00
bgp-stayrtr/package/stayrtr.service
Ben Cartwright-Cox b165bfeac8 Correct packaged systemd service not starting stayrtr correctly
The package installs in /usr/bin/ but the systemd unit starts
a binary (that wont exist) in /usr/local/bin

Sinec this service file is only ever mentioned in the Makefile
for packaging, I belive this is a bug fix that has no other side
effects.
2023-01-20 16:44:20 +00:00

13 lines
223 B
Desktop File

[Unit]
Description=StayRTR
After=network.target
[Service]
Type=simple
EnvironmentFile=/etc/default/stayrtr
WorkingDirectory=/usr/share/stayrtr
ExecStart=/usr/bin/stayrtr $STAYRTR_ARGS
[Install]
WantedBy=multi-user.target