ansible/roles/noodlehub/templates/noodlehub.service.j2
Thomas Schmid aa6286623d add klipper related roles and noodlehub role
Signed-off-by: Thomas Schmid <tom@lfence.de>
2022-01-20 20:40:32 +01:00

16 lines
308 B
Django/Jinja

[Unit]
Description=Noodlehub
After=syslog.target
After=network.target
[Service]
RestartSec=2s
Type=simple
User={{ noodlehub_user }}
Group={{ noodlehub_user }}
WorkingDirectory={{ noodlehub_dir }}
ExecStart={{ noodlehub_dir }}/venv/bin/python ./noodle_hub
Restart=always
[Install]
WantedBy=multi-user.target