forked from infra/ansible
16 lines
333 B
Plaintext
16 lines
333 B
Plaintext
|
[Unit]
|
||
|
Description=Heisenbridge
|
||
|
After=network.target
|
||
|
|
||
|
[Service]
|
||
|
RestartSec=2s
|
||
|
Type=simple
|
||
|
User={{ heisenbridge_user }}
|
||
|
Group={{ heisenbridge_user }}
|
||
|
WorkingDirectory={{ heisenbridge_directory }}
|
||
|
ExecStart={{ heisenbridge_directory }}/bin/heisenbridge -c {{ heisenbridge_config }}
|
||
|
Restart=always
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|