mirror of
https://github.com/YunoHost-Apps/pagure_ynh.git
synced 2024-09-03 19:56:19 +02:00
16 lines
383 B
SYSTEMD
16 lines
383 B
SYSTEMD
|
[Unit]
|
||
|
Description=__APP__ EventSource server (Allowing live refresh of the pages supporting it)
|
||
|
After=redis.target
|
||
|
Documentation=https://pagure.io/pagure
|
||
|
|
||
|
[Service]
|
||
|
Type=simple
|
||
|
User=__APP__
|
||
|
Group=__APP__
|
||
|
WorkingDirectory=__FINALPATH__/
|
||
|
ExecStart=__FINALPATH__/venv/bin/python3 __FINALPATH__/pagure-ev/pagure_stream_server.py
|
||
|
Restart=on-failure
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|