ansible/roles/heisenbridge/templates/heisenbridge.service.j2

16 lines
333 B
Plaintext
Raw Normal View History

2023-09-06 21:37:39 +02:00
[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