dmzconf/hosts/krov/ipv6tunnel12/lib/systemd/system/ifuptunnel.service

14 lines
247 B
SYSTEMD
Raw Normal View History

[Unit]
Description=Auto start ipv6 tunnel
After=network.target
[Service]
2023-11-23 05:08:03 +00:00
ExecStart=/usr/bin/bash /root/scripts/netstart.sh
# Remove restarts if the command is just a one-off
Restart=on-failure
RestartSec=5s
[Install]
WantedBy=multi-user.target