1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/librephotos_ynh.git synced 2024-09-03 19:36:12 +02:00
librephotos_ynh/conf/worker.service
2021-06-10 16:03:39 -04:00

18 lines
501 B
Desktop File

[Unit]
Description=librephotos-backend
Documentation=https://github.com/LibrePhotos/librephotos
After=network.target postgresql.service
Requires=postgresql.service
[Service]
User=__APP__
Group=__APP__
EnvironmentFile=__FINALPATH__/librephotos.env
ExecStart=/usr/bin/env bash -c "PATH=__PATH_PREFIX__:$PATH python manage.py rqworker default"
WorkingDirectory=__FINALPATH__/backend
StandardOutput=append:/var/log/__APP__/__APP__-worker.log
StandardError=inherit
[Install]
WantedBy=multi-user.target