This unit is provided by:
Options
-
[Install]
-
WantedBy=multi-user.target
-
-
[Service]
-
EnvironmentFile=-/etc/sysconfig/tgt
-
EnvironmentFile=/etc/sysconfig/tgtd
-
ExecReload=/usr/sbin/tgt-admin --update ALL -c $TGTD_CONFIG
-
ExecStart=/usr/sbin/tgtd $TGTD_OPTS
-
ExecStart=/usr/sbin/tgtd -f $TGTD_OPTS
-
ExecStartPost=/bin/bash -c "sleep 0.5 ; /usr/sbin/tgtadm --op update --mode sys --name State -v offline ; /usr/sbin/tgt-admin -e -c /etc/tgt/targets.conf ; /usr/sbin/tgtadm --op update --mode sys --name State -v ready"
-
ExecStartPost=/bin/sleep 5 /usr/sbin/tgtadm --op update --mode sys --name State -v offline /usr/sbin/tgt-admin -e -c $TGTD_CONFIG /usr/sbin/tgtadm --op update --mode sys --name State -v ready
-
ExecStop=-/usr/sbin/tgtadm --op delete --mode system
-
ExecStop=/usr/sbin/tgtadm --op update --mode sys --name State -v offline /usr/sbin/tgt-admin --update ALL -c /dev/null /usr/sbin/tgtadm --op delete --mode system
-
ProtectHome
Introduced in systemd 214=yes -
ProtectHostname
Introduced in systemd 242=yes -
ProtectKernelLogs
Introduced in systemd 244=yes -
ProtectKernelTunables
Introduced in systemd 232=yes -
ProtectSystem
Introduced in systemd 214=full -
RestrictRealtime
Introduced in systemd 231=yes -
Type=forking
-
User=root
-
-
[Unit]
-
After=network.target
-
Description=tgt admin
-
Description=tgtd iSCSI target daemon
-
Additionnal notes
Nothing here.