floodesh-daemon
floodesh-daemon is a process manager written by nodejs, support node
, shell
and python
. It powers you to control remote processes.
Quick start
Install
$ sudo npm install -g floodesh-daemon
Configuration
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
The User
and Environment
could be customized by your need. Then copy it to /lib/systemd/system/
.
Initialize
Enable and start floodesh-daemon as a service.
$ sudo systemctl enable floodeshd # run when system start $ sudo systemctl start floodeshd