1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/photoview_ynh.git synced 2024-09-03 20:05:55 +02:00
photoview_ynh/conf/systemd.service
2024-03-08 22:52:07 +01:00

16 lines
452 B
Desktop File

[Unit]
Description=Photoview photo manager API
After=network.target mysql.service
[Service]
Type=simple
User=__APP__
Group=__APP__
WorkingDirectory=__INSTALL_DIR__/output
EnvironmentFile=__INSTALL_DIR__/output/.env
ExecStart=/usr/bin/env bash -c "LD_LIBRARY_PATH=__INSTALL_DIR__/local/lib:$LD_LIBRARY_PATH __INSTALL_DIR__/output/photoview"
StandardOutput=append:/var/log/__APP__/__APP__.log
StandardError=inherit
[Install]
WantedBy=multi-user.target