Explicitly state root as user to ensure that HOME is set
This commit is contained in:
parent
5cde811354
commit
2637bbd53f
1 changed files with 4 additions and 1 deletions
|
@ -4,7 +4,10 @@ After=multi-user.target
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/bin/node /var/0s/source/harrogate/server.js
|
ExecStart=/usr/bin/node /var/0s/source/harrogate/server.js
|
||||||
WorkingDirectory=/var/0s/source/harrogate
|
WorkingDirectory=/var/0s/source/harrogate
|
||||||
|
# Explicitly state root as user to ensure that HOME is set
|
||||||
|
User=root
|
||||||
|
Restart=always
|
||||||
|
RestartSec=3
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
Reference in a new issue