dsnet/etc/dsnet.service

17 lines
387 B
SYSTEMD
Raw Permalink Normal View History

2020-05-23 10:19:02 +02:00
# Copy this service file to /etc/systemd/system/ to start dsnet on boot,
# assuming dsnet is installed to /usr/local/bin
[Unit]
Description=dsnet
After=network-online.target
Wants=network-online.target
[Service]
Type=oneshot
ExecStart=/usr/local/bin/dsnet up
ExecStop=/usr/local/bin/dsnet down
RemainAfterExit=yes
2020-07-07 18:59:29 +02:00
ExecReload=/usr/local/bin/dsnet sync
2020-05-23 10:19:02 +02:00
[Install]
WantedBy=default.target