Roadmap.sh Project URL: https://roadmap.sh/projects/dummy-systemd-service
Make sure you have linux OS.
Clone the repository.
git clone https://github.com/pasindu-kavinda/devops-projects.git
cd devops-projects/dummy-systemd-service
Install the service
sudo chmod +x install.sh
./install.sh
Start the service
sudo systemctl start dummy
Check the logs of the service
journalctl -u dummy -f
tail -f /var/log/dummy-service.log
Other commands
sudo systemctl stop dummy
sudo systemctl enable dummy
sudo systemctl disable dummy
sudo systemctl status dummy
Uninstall the service
sudo chmod +x uninstall.sh
./uninstall.sh