Skip to content

Latest commit

 

History

History
51 lines (38 loc) · 876 Bytes

File metadata and controls

51 lines (38 loc) · 876 Bytes

Dummy Systemd Service

Linux Badge

Roadmap.sh Project URL: https://roadmap.sh/projects/dummy-systemd-service

How to run

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

Output

Output