16 lines
390 B
Desktop File
16 lines
390 B
Desktop File
[Unit]
|
|
Description=DDNS updater (Compose Service)
|
|
Requires=docker.service
|
|
After=docker.service
|
|
|
|
[Service]
|
|
WorkingDirectory=/opt/ddns-updater
|
|
ExecStart=/usr/bin/docker-compose --project-name ddns-updater up
|
|
ExecStop=/usr/bin/docker-compose --project-name ddns-updater down
|
|
TimeoutStartSec=0
|
|
Restart=on-failure
|
|
StartLimitIntervalSec=60
|
|
StartLimitBurst=3
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|