mirror of
https://github.com/YunoHost-Apps/question2answer_ynh.git
synced 2024-09-03 20:16:07 +02:00
14 lines
261 B
SYSTEMD
14 lines
261 B
SYSTEMD
|
[Unit]
|
||
|
Description=Small description of the service
|
||
|
After=network.target
|
||
|
|
||
|
[Service]
|
||
|
Type=simple
|
||
|
User=__APP__
|
||
|
Group=__APP__
|
||
|
WorkingDirectory=__FINALPATH__/
|
||
|
ExecStart=__FINALPATH__/script >> /var/log/__APP__/__APP__.log 2>&1
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|