Last active 1720424770

example.service Raw
1# /etc/systemd/system/yourdaemon.service
2[Unit]
3Description=Your Daemon Example
4After=network.target network-online.target
5Requires=network-online.target
6
7[Service]
8ExecStart=/usr/local/bin/yourdaemon
9Type=oneshot
10Restart=on-failure
11
12[Install]
13WantedBy=multi-user.target