Taisomas Kategorija:Systemd

Jump to navigation Jump to search

Dėmesio: Jūs nesate prisijungęs. Jūsų IP adresas bus viešai matomas, jei atliksite kokius nors keitimus. Jeigu prisijungsite arba sukursite paskyrą, jūsų keitimai bus priskirti jūsų naudotojo vardui; drauge įgysite naujų galimybių.

Keitimas gali būti atšauktas. Prašome patikrinti palyginimą, esantį žemiau, kad patvirtintumėte, kad jūs tai ir norite padaryti, ir tada išsaugokite pakeitimus, esančius žemiau, kad užbaigtumėte keitimo atšaukimą.

Dabartinė versija Jūsų tekstas
2 eilutė: 2 eilutė:
 
  systemctl enable <name>.service
 
  systemctl enable <name>.service
 
  systemctl start <name>.service
 
  systemctl start <name>.service
journalctl -u <name> -f
 
 
All stopped services on the system
 
systemctl list-units -all --state=inactive
 
All failed services on the system
 
systemctl list-units -all --state=failed
 
Services status one-liner
 
for i in $(cd /etc/systemd/system/multi-user.target.wants && ls *.service); do script -q -c "systemctl status -n 0 --no-pager $i" |head -n 1; script -q -c "systemctl status -n 0 --no-pager $i" |grep --color=never "Active: "; done;
 
 
== 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}}

Primename, kad viskas, kas patenka į Žinynas, yra skelbiama pagal GNU Free Documentation License 1.2 (plačiau – Žinynas:Autorinės teisės). Jei nenorite, kad jūsų indėlis būtų be gailesčio kaitaliojamas ir platinamas, nerašykite čia.
Jūs taip pat pasižadate, kad tai jūsų pačių rašytas turinys arba kopijuotas iš viešų ar panašių nemokamų šaltinių. Nekopijuokite autorinėmis teisėmis apsaugotų darbų be leidimo!

Kad apsaugotume vikį nuo automatinio keitimų šlamšto, prašome išspręsti šį CAPTCHA:

Atšaukti Kaip redaguoti (atsidaro naujame lange)

Šablonas, naudojami puslapyje: