1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/libreerp_ynh.git synced 2024-09-03 19:36:13 +02:00
libreerp_ynh/conf/app.service.j2

20 lines
432 B
Text
Raw Normal View History

[Unit]
2022-02-13 19:55:00 +01:00
Description=__APP__
Requires=postgresql.service
After=network.target postgresql.service
[Service]
Type=simple
2022-02-13 19:55:00 +01:00
SyslogIdentifier=__APP__
PermissionsStartOnly=true
2022-02-13 19:55:00 +01:00
User=__APP__
Group=__APP__
Environment=PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin
2022-02-13 19:55:00 +01:00
ExecStart=__BIN_FILE__ --config __CONF_FILE__ --logfile /var/log/__APP__.log
Restart=always
RestartSec=3
StandardOutput=journal+console
[Install]
WantedBy=multi-user.target