16 lines
308 B
Django/Jinja
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 |