SupervisorD How To

 




Installation SupervisorD on Linux Debian

$ sudo apt update && sudo apt install supervisor


Check is SupervisorD run or not? (systemd level)

$ sudo systemctl status supervisor


Note of SupervisorD

sudo supervisorctl reread

sudo supervisorctl update

sudo supervisorctl status all

sudo supervisorctl start / stop servicename


SupervisorD path (on Debian):

/etc/supervisor/conf.d/


Create conf file into this path above:

nano tanyaid_api.conf (enter)


Fill these code into your conf file:

[program:tanyaid_api]

directory=/home/fadhil/tanyaid/dev/api/

command=java -jar TanyaID-springBoot-1.0.jar application.properties

autostart=false

autorestart=false

stderr_logfile=/home/fadhil/tanyaid/dev/api/logs/error.log

stdout_logfile=/home/fadhil/tanyaid/dev/api/logs/out.log


Don`t forget to save file.

Comments