This unit is provided by:
Options
-
[Install]-
WantedBy=multi-user.target
-
-
[Service]-
Environment="LOGOPTS=" "LOGINTERVAL=600" "LOGGENERATIONS=28" "LOGPATH=/var/log/atop" -
EnvironmentFile=/etc/default/atop -
EnvironmentFile=/etc/sysconfig/atop -
ExecStart=/bin/sh -c 'exec /usr/bin/atop ${LOGOPTS} -w "${LOGPATH}/atop_$(date +%%Y%%m%%d)" ${LOGINTERVAL}' -
ExecStartPost=/usr/bin/find "${LOGPATH}" -name "atop_*" -mtime +${LOGGENERATIONS} -exec rm -v {} \; -
ExecStartPre=/bin/sh -c 'test -n "$LOGINTERVAL" -a "$LOGINTERVAL" -eq "$LOGINTERVAL"' /bin/sh -c 'test -n "$LOGGENERATIONS" -a "$LOGGENERATIONS" -eq "$LOGGENERATIONS"' -
KillSignal=SIGUSR2 -
PrivateDevicesIntroduced in systemd 209=yes -
ProtectClockIntroduced in systemd 245=yes -
ProtectControlGroupsIntroduced in systemd 232=yes -
ProtectHomeIntroduced in systemd 214=yes -
ProtectHostnameIntroduced in systemd 242=yes -
ProtectKernelLogsIntroduced in systemd 244=yes -
ProtectKernelModulesIntroduced in systemd 232=yes -
ProtectKernelTunablesIntroduced in systemd 232=yes -
ProtectSystemIntroduced in systemd 214=full -
RestrictRealtimeIntroduced in systemd 231=yes -
Type=simple
-
-
[Unit]-
Description=Atop advanced performance monitor -
Documentation=man:atop(1)
-
Additionnal notes
Nothing here.