ansible-ffibk/roles/service-domain-director/templates/domain-director.service.j2
2019-03-06 17:16:34 +01:00

16 lines
369 B
Django/Jinja

[Unit]
Description=Domain-Director - Directing ALL THE NODS
Wants=network.target
After=network.target
[Service]
Type=simple
User={{ director_user }}
Group={{ director_user }}
WorkingDirectory={{ director_data_dir }}
ExecStart=/usr/local/bin/domain-director --config {{ director_conf_dir }}/config.yml
Restart=always
RestartSec=5s
[Install]
WantedBy=multi-user.target