fix environment
This commit is contained in:
parent
ab444e07f4
commit
1461a83fa7
1 changed files with 2 additions and 3 deletions
|
@ -2,7 +2,7 @@
|
||||||
Description=KOReader Sync Server
|
Description=KOReader Sync Server
|
||||||
After=syslog.target
|
After=syslog.target
|
||||||
After=network.target
|
After=network.target
|
||||||
After=redis.service
|
After=postgresql.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
RestartSec=2s
|
RestartSec=2s
|
||||||
|
@ -11,8 +11,7 @@ User=myuser
|
||||||
Group=users
|
Group=users
|
||||||
WorkingDirectory=/home/myuser
|
WorkingDirectory=/home/myuser
|
||||||
ExecStart=/usr/local/bin/kosyncrs
|
ExecStart=/usr/local/bin/kosyncrs
|
||||||
Environment="PG_URL=postgresql://kosync:password@localhost/kosync"
|
Environment=PG_URL=postgresql://kosync:password@localhost/kosync PORT=3003
|
||||||
Environment="PORT=3003"
|
|
||||||
Restart=always
|
Restart=always
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|
Loading…
Reference in a new issue