Autostart icecast using systemd
To autostart icecast using systemd, create a unit file Add following content Enable icecast to start on boot with To start/stop/restart icecast, use
To autostart icecast using systemd, create a unit file Add following content Enable icecast to start on boot with To start/stop/restart icecast, use
Systemd have its own loggin system called Systemd Journal. It keep track of logs for each service. To see log for a service, run journalctl -u SERVICE_NAME Example root@ocp-serverok-in:~# journalctl -u myapp — Logs begin at Wed 2020-05-27 06:43:34 UTC, end at Fri 2020-06-26 09:33:19 UTC. — Jun 26 08:53:59 ocp-serverok-in systemd[1]: Started Sample web … Read more
systemd is used to start applications on linux systems. In this post, we will create an application and run start it on boot using systemd. Lets create our sample application. mkdir /root/myapp/ vi /root/myapp/web.sh Add following content to the file and save. #!/bin/bash echo “Starting web server” | systemd-cat -p info cd /root/myapp python3 -m … Read more