This unit is provided by:
Options
-
[Install]
-
WantedBy=multi-user.target
-
-
[Service]
-
AmbientCapabilities=CAP_NET_BIND_SERVICE
-
CapabilityBoundingSet=CAP_NET_BIND_SERVICE
-
DevicePolicy=closed
-
Environment=XDG_DATA_HOME=/var/lib XDG_CONFIG_HOME=/var/lib
-
ExecStart=/usr/bin/caddy run --environ --resume
-
Group=caddy
-
LimitNOFILE=1048576
-
LimitNPROC=512
-
LockPersonality
Introduced in systemd 235=yes -
MemoryAccounting=yes
-
MemoryDenyWriteExecute
Introduced in systemd 231=yes -
NoNewPrivileges
Introduced in systemd 239=yes -
PrivateDevices
Introduced in systemd 209=yes -
PrivateTmp=yes
-
ProcSubset
Introduced in systemd 247=pid -
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 -
ProtectProc
Introduced in systemd 247=invisible -
ProtectSystem
Introduced in systemd 214=full -
ProtectSystem
Introduced in systemd 214=strict -
ReadWritePaths=/var/lib/caddy /var/log/caddy /run/caddy
-
RemoveIPC
Introduced in systemd 232=yes -
Restart=on-abnormal
-
RestrictNamespaces
Introduced in systemd 233=yes -
RestrictRealtime
Introduced in systemd 231=yes -
RestrictSUIDSGID
Introduced in systemd 242=yes -
TimeoutStopSec
Introduced in systemd 188=5s -
Type=notify
-
User=caddy
-
-
[Unit]
-
After=network-online.target
-
After=network.target
-
Description=Caddy API Server
-
Description=Caddy web server
-
Documentation=https://caddyserver.com/docs/
-
StartLimitBurst=10
-
StartLimitIntervalSec=14400
-
Wants=network-online.target systemd-networkd-wait-online.service
-
Additionnal notes
Nothing here.