dsnet/etc/dsnet.service
2020-07-07 13:59:29 -03:00

17 lines
387 B
Desktop File

# 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
ExecReload=/usr/local/bin/dsnet sync
[Install]
WantedBy=default.target