This unit is provided by:
Options
-
[Install]
-
WantedBy=multi-user.target
-
-
[Service]
-
AmbientCapabilities=
-
CapabilityBoundingSet=
-
Environment=HOST=:: PORT=3903 EXTRA_ARGS=
-
EnvironmentFile=-/etc/sysconfig/mtail
-
EnvironmentFile=/etc/default/mtail
-
ExecCondition=/usr/bin/test -n "${LOGS}"
-
ExecReload=/bin/kill -HUP $MAINPID
-
ExecStart=/bin/sh -c 'exec /usr/bin/mtail --progs /etc/mtail --logtostderr $${HOST:+--address $$HOST} $${PORT:+--port $$PORT} --logs "$LOGS" $EXTRA_ARGS'
-
ExecStart=/usr/sbin/mtail $ARGS
-
Group=mtail
-
KeyringMode=private
-
LockPersonality
Introduced in systemd 235=yes yes -
MemoryDenyWriteExecute
Introduced in systemd 231=yes -
MemoryMax=1G
-
MemorySwapMax=0
-
MountFlags=private
-
NoNewPrivileges
Introduced in systemd 239=yes -
PrivateDevices
Introduced in systemd 209=yes -
PrivateTmp=yes
-
PrivateUsers=yes
-
ProtectClock
Introduced in systemd 245=yes -
ProtectControlGroups
Introduced in systemd 232=yes -
ProtectHome
Introduced in systemd 214=yes -
ProtectHostname
Introduced in systemd 242=yes -
ProtectKernelLogs
Introduced in systemd 244=yes -
ProtectKernelModules
Introduced in systemd 232=yes -
ProtectKernelTunables
Introduced in systemd 232=yes -
ProtectSystem
Introduced in systemd 214=full -
RemoveIPC
Introduced in systemd 232=yes -
Restart=always
-
Restart=on-failure
-
RestrictAddressFamilies=AF_INET AF_INET6 AF_UNIX
-
RestrictNamespaces
Introduced in systemd 233=yes -
RestrictRealtime
Introduced in systemd 231=yes -
RestrictSUIDSGID
Introduced in systemd 242=yes -
SystemCallArchitectures=native
-
SystemCallFilter=~ @clock @cpu-emulation @debug @keyring @module @mount @raw-io @reboot @swap @obsolete @chown @timer @privileged ioprio_set mbind migrate_pages move_pages nice sched_setaffinity sched_setattr sched_setparam sched_setscheduler set_mempolicy setpriority setrlimit
-
TimeoutStopSec
Introduced in systemd 188=20s -
Type=simple
-
User=mtail
-
-
[Unit]
-
After=local-fs.target network.target
-
Before=nss-user-lookup.target
-
Description=MTail
-
Description=mtail - extracts metrics from logs
-
Documentation=https://github.com/google/mtail/tree/master/docs
-
Documentation=https://google.github.io/mtail/
-
Requires=local-fs.target network.target
-
Additionnal notes
Nothing here.