2021-05-03 14:11:44 +02:00
|
|
|
[Unit]
|
|
|
|
Description=Traefik
|
|
|
|
Documentation=https://doc.traefik.io/traefik/
|
|
|
|
After=network.target network-online.target
|
|
|
|
Requires=network-online.target
|
|
|
|
AssertFileIsExecutable=/usr/bin/traefik
|
2024-05-07 18:53:34 +02:00
|
|
|
AssertPathExists=/etc/traefik/traefik.yml
|
2021-05-03 14:11:44 +02:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=notify
|
2024-05-07 18:53:34 +02:00
|
|
|
ExecStart=/usr/bin/traefik --configFile=/etc/traefik/traefik.yml
|
2021-05-03 14:11:44 +02:00
|
|
|
Restart=always
|
|
|
|
WatchdogSec=1s
|
|
|
|
PrivateTmp=true
|
|
|
|
ProtectSystem=full
|
|
|
|
AmbientCapabilities=CAP_NET_BIND_SERVICE
|
2024-05-07 18:53:34 +02:00
|
|
|
KillMode=mixed
|
2021-05-03 14:11:44 +02:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|