Forgot env, added HOME envvar to service to make entwine happy

pull/91/head
Piero Toffanin 2019-07-15 14:47:28 -04:00
rodzic 947b8b046e
commit 27ed79a5a3
2 zmienionych plików z 4 dodań i 1 usunięć

Wyświetl plik

@ -59,7 +59,9 @@ function makeRunner(command, args, requiredOptions = [], outputTestFile = null){
// Launch
let childProcess = spawn(command, commandArgs, {
LD_LIBRARY_PATH: path.join(config.odm_path, "SuperBuild", "install", "lib")
env:{
LD_LIBRARY_PATH: path.join(config.odm_path, "SuperBuild", "install", "lib")
}
});
childProcess

Wyświetl plik

@ -7,6 +7,7 @@ PIDFile=/run/nodeodm.pid
User=odm
Group=odm
WorkingDirectory=/www
Environment="HOME=/www/data"
ExecStart=/usr/bin/node index.js
ExecStop=/bin/kill -s QUIT $MAINPID
Restart=on-failure