oshipka/provision/auto_dns/auto_dns.service
2020-06-21 11:17:34 +02:00

16 lines
321 B
Desktop File

[Unit]
Description=auto dns
Requires=network.target
After=network.target
[Service]
Type=simple
User={{ user }}
Type=simple
WorkingDirectory={{ oshipka_path }}
ExecStart=/bin/bash -c '{{ oshipka_path }}/venv/bin/python {{ oshipka_path }}/provision/auto_dns/check.py'
Restart=on-failure
[Install]
WantedBy=default.target