2021-02-27 01:01:43 +01:00
|
|
|
[Unit]
|
|
|
|
Description=Check DNS records at OVH
|
|
|
|
After=network-online.target
|
|
|
|
Wants=network-online.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
2021-02-28 12:51:22 +01:00
|
|
|
ExecStart=/usr/bin/python3 -u /absolute/path/to/ovh-dns-updater.py
|
2021-02-27 01:01:43 +01:00
|
|
|
#StandardOutput=journal+console
|
|
|
|
StandardOutput=file:/var/log/foo/stdout
|
|
|
|
StandardError=file:/var/log/foo/stderr
|
|
|
|
|
|
|
|
|