17 lines
369 B
Text
17 lines
369 B
Text
|
[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
|