mirror of
https://github.com/UiO-Gaming/infoscreen3.git
synced 2026-11-05 13:56:52 +01:00
* Update npm dependencies * Change config to use environmental variables, * Fix videos to actually show (modern browsers needs muted volume) * Fix videos to load actually for lite and css views * Provide zip with precompiled binaries for super-easy setup
16 lines
346 B
JavaScript
16 lines
346 B
JavaScript
#!/usr/bin/env node
|
|
|
|
import fs from 'fs';
|
|
import { daemon } from 'daemon';
|
|
var stdoutFd = fs.openSync('./data/output.log', 'a');
|
|
var stderrFd = fs.openSync('./data/errors.log', 'a');
|
|
var proc2 = daemon("./infoscreen3",
|
|
"",
|
|
{
|
|
cwd: process.cwd(),
|
|
stdout: stdoutFd,
|
|
stderr: stderrFd,
|
|
});
|
|
|
|
console.log(proc2.pid);
|