kosyncrs/systemd/kosyncrs.service

19 lines
346 B
SYSTEMD
Raw Permalink Normal View History

2023-09-26 21:16:25 +02:00
[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
2025-01-08 11:06:10 +01:00
Environment="PG_URL=postgresql://kosync:password@localhost/kosync"
2023-09-26 21:16:25 +02:00
Restart=always
[Install]
WantedBy=multi-user.target