mirror of
https://github.com/YunoHost-Apps/shiori_ynh.git
synced 2024-09-03 20:26:17 +02:00
17 lines
357 B
SYSTEMD
17 lines
357 B
SYSTEMD
|
[Unit]
|
||
|
Description=Shiori: Simple bookmark manager
|
||
|
Requires=network-online.target
|
||
|
After=network-online.target
|
||
|
|
||
|
[Service]
|
||
|
Type=simple
|
||
|
User=__APP__
|
||
|
Group=__APP__
|
||
|
WorkingDirectory=__FINALPATH__/
|
||
|
ExecStart=__FINALPATH__/__APP__ serve --port __PORT__
|
||
|
StandardOutput=append:/var/log/__APP__/__APP__.log
|
||
|
StandardError=inherit
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|