-
Hello, I'm trying to set up a service for ddns-updater to make sure it's always up and running. [Unit]
Description=DDNS Updater
After=network.target network-online.target
Requires=network-online.target
StartLimitBurst=5
StartLimitIntervalSec=10
[Service]
Type=notify
Restart=on-failure
RestartSec=1
ExecStart=/usr/bin/ddns-updater/ddns-updater --period=20s --update-cooldown-period=1m
#ExecReload=
#TimeoutStopSec=5s
#ProtectSystem=full
AmbientCapabilities=CAP_NET_ADMIN CAP_NET_BIND_SERVICE
[Install]
WantedBy=multi-user.target But when starting the service it's stuck on status activating, please advice. Thanks |
Beta Was this translation helpful? Give feedback.
Answered by
91320113
Apr 18, 2024
Replies: 2 comments 2 replies
-
Perhaps change the type to simple? |
Beta Was this translation helpful? Give feedback.
1 reply
-
/etc/systemd/system/ddns-updater.service:
/usr/bin/ddns-updater/init.sh:
This works and restarts if kill -9 the process, ugly solution but working for now. Thank you |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
91320113
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
/etc/systemd/system/ddns-updater.service:
/usr/bin/ddns-updater/init.sh:
This works and restarts if kill -9 the process, ugly solution but working for now.
Thank you