Deployment

Sections in this article

Daemonizing Plasma

plasma is just a binary like any other, so it can be daemonized using any tool of your liking. In the examples folder of the codebase, you’ll find the Supervisor config we use for our hosted node. We’ve also included it below, for convenience:

# an example plasma configuration for supervisord
[program:plasma]
command=/usr/bin/plasma --config /etc/plasma/config.yaml start-root
autostart=true
autorestart=true
stderr_logfile=/var/log/supervisor/plasma.err.log
stdout_logfile=/var/log/supervisor/plasma.out.log
user=plasma