floodesh-daemon is a process manager written by nodejs, support
python. It powers you to control remote processes.
$ sudo npm install -g floodesh-daemon
Create a file named
floodeshd.conf, it should look like below:
[Unit]Description=daemon for floodesh process managerRequires=mdadm.service local-fs.targetAfter=mdadm.service local-fs.target[Service]User=bdaEnvironment=NODE_ENV=productionExecStart=/usr/bin/node /usr/lib/node_modules/floodesh-daemon/lib/daemon.js[Install]WantedBy=multi-user.target
Environment could be customized by your need. Then copy it to
Enable and start floodesh-daemon as a service.
$ sudo systemctl enable floodeshd # run when system start$ sudo systemctl start floodeshd