1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/komga_ynh.git synced 2024-09-03 19:36:07 +02:00
komga_ynh/conf/systemd.service

16 lines
315 B
SYSTEMD
Raw Normal View History

2021-02-28 08:43:32 +01:00
[Unit]
2021-02-28 19:16:46 +01:00
Description=Komga server
2021-02-28 08:43:32 +01:00
After=network.target
[Service]
Type=simple
User=__APP__
Group=__APP__
2021-07-08 18:57:02 +02:00
WorkingDirectory=__FINALPATH__
ExecStart=/usr/bin/java -jar -Xmx1g komga.jar --server.port=__PORT__ --server.servlet.context-path="__PATH__"
2021-02-28 19:16:46 +01:00
Restart=on-failure
RestartSec=10
2021-02-28 08:43:32 +01:00
[Install]
WantedBy=multi-user.target