fix environment

This commit is contained in:
Martin Brodbeck 2025-01-08 15:11:04 +01:00
parent ab444e07f4
commit 1461a83fa7

View file

@ -2,7 +2,7 @@
Description=KOReader Sync Server
After=syslog.target
After=network.target
After=redis.service
After=postgresql.service
[Service]
RestartSec=2s
@ -11,8 +11,7 @@ User=myuser
Group=users
WorkingDirectory=/home/myuser
ExecStart=/usr/local/bin/kosyncrs
Environment="PG_URL=postgresql://kosync:password@localhost/kosync"
Environment="PORT=3003"
Environment=PG_URL=postgresql://kosync:password@localhost/kosync PORT=3003
Restart=always
[Install]