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/frontend.service
2021-06-10 16:03:39 -04:00

15 lines
451 B
Desktop File

[Unit]
Description=librephotos-frontend
Documentation=https://github.com/LibrePhotos/librephotos
[Service]
User=__APP__
Group=__APP__
EnvironmentFile=__FINALPATH__/librephotos.env
ExecStart=/usr/bin/env bash -c "PATH=__PATH_PREFIX__:$PATH ./node_modules/.bin/serve build -d -l $httpPort"
WorkingDirectory=__FINALPATH__/frontend
StandardOutput=append:/var/log/__APP__/__APP__-frontend.log
StandardError=inherit
[Install]
WantedBy=multi-user.target