Kategorija:Systemd: Skirtumas tarp puslapio versijų

Iš Žinynas.
Jump to navigation Jump to search
3 eilutė: 3 eilutė:
 
  systemctl start <name>.service
 
  systemctl start <name>.service
 
  journalctl -u <name> -f
 
  journalctl -u <name> -f
 +
 +
== Tipai ==
 +
'''[Service]
 +
Type='''
 +
Systemd is able to handle various different service types specifically one of the following
 +
 +
* simple - A long-running process that does not background its self and stays attached to the shell.
 +
* forking - A typical daemon that forks itself detaching it from the process that ran it, effectively backgrounding itself.
 +
* oneshot - A short-lived process that is expected to exit.
 +
* dbus - Like simple, but notification of processes startup finishing is sent over dbus.
 +
* notify - Like simple, but notification of processes startup finishing is sent over inotify.
 +
* idle - Like simple, but the binary is started after the job has been dispatched.
  
 
{{Template:Distributions}}
 
{{Template:Distributions}}

15:00, 16 kovo 2021 versija

systemctl daemon-reload   
systemctl enable <name>.service
systemctl start <name>.service
journalctl -u <name> -f

Tipai

[Service]
Type=

Systemd is able to handle various different service types specifically one of the following

  • simple - A long-running process that does not background its self and stays attached to the shell.
  • forking - A typical daemon that forks itself detaching it from the process that ran it, effectively backgrounding itself.
  • oneshot - A short-lived process that is expected to exit.
  • dbus - Like simple, but notification of processes startup finishing is sent over dbus.
  • notify - Like simple, but notification of processes startup finishing is sent over inotify.
  • idle - Like simple, but the binary is started after the job has been dispatched.

Puslapiai kategorijoje „Systemd“

Rodomi 6 šios kategorijos puslapiai (iš viso kategorijoje yra 6 puslapiai).