AMSA
Activity 1: Booting & systemd
Activity brief
Develop a systemd service that outputs “Hello,
For this you must:
- Create a script that prints the message
- Create a
systemd
service linked to this script - Move the service and start it properly
Do it with any language you prefer, although bash is probably the simpliest one.
What to send?
Accept the assignment in github classroom, following the link
To complete this activity, you must deliver a link to your Github repository, which will contain:
- The script itself
- The
.service
file - A screenshot of your
journalctl
output, where the script output can be seen.
Example of the
journalctl
screenshot:
Some useful resources
Redhat’s documentation on how to manage services with systemd
SUSE’s documentation on setting up a systemd service
Check out banner or figlet, some commands to make ascii from bash
Check out pyfiglet if you’re one of those that prefer python