Afficher le paramètres d'un systemd Unit File


Testé sur CentOS 8.2:

[moore@firewall ~]$ cat /etc/redhat-release 
CentOS Linux release 8.2.2004 (Core) 

Vous pouvez afficher le détail du paramétrage du service systemd avec la commande “systemctl cat”:

[moore@firewall ~]$ systemctl cat firewalld
# /usr/lib/systemd/system/firewalld.service
[Unit]
Description=firewalld - dynamic firewall daemon
Before=network-pre.target
Wants=network-pre.target
After=dbus.service
After=polkit.service
Conflicts=iptables.service ip6tables.service ebtables.service ipset.service
Documentation=man:firewalld(1)

[Service]
EnvironmentFile=-/etc/sysconfig/firewalld
ExecStart=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS
ExecReload=/bin/kill -HUP $MAINPID
# supress to log debug and error output also to /var/log/messages
StandardOutput=null
StandardError=null
Type=dbus
BusName=org.fedoraproject.FirewallD1
KillMode=mixed

[Install]
WantedBy=multi-user.target
Alias=dbus-org.fedoraproject.FirewallD1.service


A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

EN | FR | ES

Recherche