Skip to content

shrinidhi666/supervisor-systemd

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Supervisor service for Systemd

This service is for Systemd (system and service manager) on CentOS 7 / Fedora 21.

Usage

Installation.

Install supervisor:

$ sudo yum install python-setuptools -y
$ sudo easy_install supervisor

Clone repository.

Clone this repo:

$ git clone https://github.com/zokeber/supervisor-systemd.git ~/supervisor-systemd

Copy directories and files.

Copy directories/files to destinations /etc/supervisor and /etc/systemd/system, and create the log directory:

$ sudo cp -vr ~/supervisor-systemd/etc/supervisor /etc/supervisor
$ sudo cp -vr ~/supervisor-systemd/etc/systemd/system/supervisord.service /etc/systemd/system/
$ sudo mkdir -p /var/log/supervisor

Create alias in ~/.bashrc or ~/.zshrc files:

alias supervisorctl="supervisorctl -c /etc/supervisor/supervisord.conf"

Enable supervisord service:

$ sudo systemctl enable supervisord.service

Start supervisord service:

$ sudo systemctl start supervisord.service

About

This service is for Systemd (system and service manager) in CentOS 7 / Fedora 23

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published