floodesh-daemon

daemon for floodesh/flowesh process manager

Usage no npm install needed!

<script type="module">
  import floodeshDaemon from 'https://cdn.skypack.dev/floodesh-daemon';
</script>

README

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 manager
Requires=mdadm.service local-fs.target
After=mdadm.service local-fs.target

[Service]
User=bda
Environment=NODE_ENV=production
ExecStart=/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