systemd example file

This commit is contained in:
Martin Brodbeck 2023-09-26 21:16:25 +02:00
parent 09fa0536a4
commit 349d5d0a4b

17
systemd/kosyncrs.service Normal file
View file

@ -0,0 +1,17 @@
[Unit]
Description=KOReader Sync Server
After=syslog.target
After=network.target
After=redis.service
[Service]
RestartSec=2s
Type=simple
User=myuser
Group=users
WorkingDirectory=/home/myuser
ExecStart=/usr/local/bin/kosyncrs
Restart=always
[Install]
WantedBy=multi-user.target