Questions tagged [systemctl]

systemctl is the main command to control and introspect the systemd Linux init system.

systemd is a system and service manager in Linux. More information about switches and arguments can be found here.

238 questions
5
votes
2 answers

sytemctl status log output

When I run systemctl status with multiple services at once like sudo systemctl status myservice1 myservice2 myservice3 I see the output, but in the end I see lines 1-48/48 (END) or if the output is even larger with more arguments lines 1-62 and I…
lamviec
  • 51
3
votes
2 answers

systemctl after dependency not listed (and probably not working)

I want to migrate gammu-smsd service to mariadb, so I have edited service systemctl edit --full gammu-smsd.service - I have added mariadb.service on After line. [Unit] Description=SMS daemon for…
Tom HANAX
  • 153
1
vote
0 answers

Failed to start open network operating system using command systemctl

i follow the admin guide to install onos and when i issue the following command: sudo systemctl status onos.service it output a error message that show failed to start open network operating system. However it seems like it failed to start due to…
Max You
  • 21
0
votes
1 answer

visudo cannot get around systemctl

I've given my user root permission to run systemcl via visudo. # visudo XXXXXX ALL=NOPASSWD: /bin/systemctl restart shiny-server.service After logging out and back in, I run the command: $ /bin/systemctl restart shiny-server.service And get: ====…
Chris
  • 95
0
votes
0 answers

How to get whole log info?

To get the upload service's log info. sudo journalctl -l -u upload -- Logs begin at Thu 2018-01-18 22:38:54 EST, end at Fri 2018-04-13 23:44:37 EDT. -- Apr 13 23:36:50 localhost systemd[1]: Started upload files into dropbox. Apr 13 23:36:50…
showkey
  • 125
0
votes
0 answers

How can I start a disabled service@ in Fedora 38?

I have 2 openvpn-client@ services (openvpn-client@df and openvpn-client@sp) configured in my machine. I don't want them automatically started at boot. But I want to be able to manually start them whenever I need them. The problem is that in Fedora…
Rsevero
  • 11
0
votes
1 answer

Ignore ExecStartPre sleep for ad-hoc systemctl starts

I have a PDF Rendering custom application, I have successfully created a systemctl service for it. I have successfully configured the ExecStartPre=/bin/sleep 30 to delay the start by 30 seconds. Unfortunately searching the web and Linux…