Category "systemctl"

why "systemctl" not working in Ubuntu terminal on Windows?

I need to reload the daemon using systemctl command in ubuntu terminal on window 10. I attached the error I received. The error: bashdos@yana:~$ systemctl Syste

How to only show output from shell script that is running as a service?

I write a shell script and installed it on systemctl to run on startup, everything works fine, however if i run "systemctl status myservice" it shows all my scr

systemctl short status output format for specific service

is it possible to get status for specific systemd service $ systemctl -a | grep sshd.service sshd.service loaded active running OpenSSH s

running python script as a systemd service

I have a python script myScript.py which is writing on a file every 2 second. But when I want to run this script as a systemd service, service works but not wri