ansible-roles/powerdns-admin/templates/powerdns-admin.service

15 lines
283 B
SYSTEMD
Raw Normal View History

2018-05-16 18:29:23 +02:00
[Unit]
Description=PowerDNS-Admin
After=network.target
[Service]
Type=simple
User={{ pdns_admin_user }}
Group={{ pdns_admin_user }}
ExecStart={{ pdns_admin_home }}/flask/bin/python ./run.py
WorkingDirectory={{ pdns_admin_home }}
Restart=always
[Install]
WantedBy=multi-user.target