defi-units

Install this to manage defi services. Services are scheduled using systemctl. Each folder in the package contains unit files for the services that need to run on the host with the hostname given by the folder name.

Install

pip install --upgrade defi-units

start certain service

defi start logs_eth defi stop logs_eth

start all services

defi start all defi stop all

This will start/stop all services that are running on this host based on the hostname

logs

To monitor logs for all services

journalctl -f journalctl -f -u logs_eth

Links for defi-scheduler