summarylogtreecommitdiffstats
path: root/komga.service
blob: a7bfb4bda248d5d207958a5ca2f2f3e6abd1f148 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[Unit]
Description=Komga daemon
After=network.target

[Service]
User=komga
Group=komga
Restart=always
RestartSec=5
Type=simple
Environment=XDG_CONFIG_HOME=/var/lib/komga
EnvironmentFile=-/etc/komga.conf
WorkingDirectory=/var/lib/komga
ExecStart=/usr/bin/komga -Xmx1G --spring.profiles.active=claim --spring.datasource.url=jdbc:h2:/var/lib/komga/database.h2 --komga.database-backup.path=/var/lib/komga/database-backup.zip

[Install]
WantedBy=multi-user.target