kopia lustrzana https://github.com/OpenDroneMap/NodeODM
Forgot env, added HOME envvar to service to make entwine happy
rodzic
947b8b046e
commit
27ed79a5a3
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Ładowanie…
Reference in New Issue