Script to manage the status of services with systemctl
- Clone in root:
git clone https://github.com/eesuhn/ft-service-ctl.git $HOME/.ft-service-ctl
- Run set-up script:
source $HOME/.ft-service-ctl/set-up.sh
fs <service> [option]
-i
to initialize service
-s
to stop service
-r
to reload service
If no option is provided, it checks the status and prompts to start if inactive