843b05a6ec
At the end of run, `exec` should be used to switch to the node process. That way node will take over the pid of `sh run.sh`, making it easier to monitor and daemonize the server. ``` exec [command [arg ...]] Unless command is omitted, the shell process is replaced with the specified program (which must be a real program, not a shell built-in command or function). Any redirections on the exec com- mand are marked as permanent, so that they are not undone when the exec command finishes. ``` |
||
---|---|---|
.. | ||
deb-src | ||
doc | ||
backendTests.sh | ||
buildDebian.sh | ||
buildForWindows.sh | ||
checkPad.js | ||
cleanRun.sh | ||
convert.js | ||
convertSettings.json.template | ||
debugRun.sh | ||
deletePad.js | ||
dirty-db-cleaner.py | ||
extractPadData.js | ||
importSqlFile.js | ||
installDeps.sh | ||
installOnWindows.bat | ||
migrateDirtyDBtoRealDB.js | ||
rebuildPad.js | ||
repairPad.js | ||
run.sh | ||
safeRun.sh | ||
updatePlugins.sh |