sysfiles/etc/systemd/system/ddns-updater-dc.service

17 lines
390 B
SYSTEMD
Raw Normal View History

2023-02-11 16:29:32 +01:00
[Unit]
Description=DDNS updater (Compose Service)
Requires=docker.service
After=docker.service
[Service]
WorkingDirectory=/opt/ddns-updater
2024-12-21 00:24:07 +01:00
ExecStart=/usr/bin/docker compose --project-name ddns-updater up
ExecStop=/usr/bin/docker compose --project-name ddns-updater down
2023-02-11 16:29:32 +01:00
TimeoutStartSec=0
Restart=on-failure
StartLimitIntervalSec=60
StartLimitBurst=3
[Install]
WantedBy=multi-user.target