systemd-examples/network-script.service

9 lines
143 B
SYSTEMD
Raw Normal View History

2025-04-11 19:56:39 +02:00
[Service]
ExecStart=/bin/bash script.sh
User=root
WorkingDirectory=/root
Restart=always
RestartSec=10
[Install]
WantedBy=network-online.target