systemd
Ez a dokumentum egy előző változata!
Tartalomjegyzék
Basic usage
systemctl start apache2
systemctl stop apache2
systemctl enable apache2
systemctl disable apache2
systemctl status apache2
networkd
Config files:
/etc/systemd/network
DNS=... DHCP=.. Gateway=.. Address=.. Domains=.. ...
Check man systemd.network
tmpfiles.d, /var/run persistency
With the adoption of systemd, there is now a centralized mechanism for the creation of temporary files and directories. A service wishing to use this method can remove mkdir commands in its own startup script and instead place a .conf file in /etc/tmpfiles.d, /run/tmpfiles.d, or /usr/lib/tmpfiles.d, with Ubuntu services seeming to prefer the last option.
The format of these files is the following:
#Type Path Mode UID GID Age Argument d /run/user 0755 root root 10d - L /tmp/foobar - - - - /dev/null
Further information can be found using man tmpfiles.d
systemd.1524554045.txt.gz · Utolsó módosítás: 2018/10/03 13:31 (külső szerkesztés)
