mirror of
https://github.com/YunoHost-Apps/gemserv_ynh.git
synced 2024-09-03 18:36:27 +02:00
18 lines
420 B
Desktop File
18 lines
420 B
Desktop File
[Unit]
|
|
Description=gemserv
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=__APP__
|
|
Group=__APP__
|
|
WorkingDirectory=__FINALPATH__/
|
|
ExecStartPre=-/bin/bash -c 'cat /etc/__APP__/config.d/*.toml > /etc/__APP__/config.toml'
|
|
ExecStart=__FINALPATH__/live/__APP__ /etc/__APP__/config.toml
|
|
StandardOutput=append:/var/log/__APP__/__APP__.log
|
|
StandardError=inherit
|
|
Restart=always
|
|
RestartSec=5
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|