2021-05-03 14:11:33 +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
|
2021-05-17 11:48:14 +02:00
|
|
|
AssertPathExists=/etc/traefik/traefik1.7.toml
|
2021-05-03 14:11:33 +02:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=notify
|
2021-05-17 11:48:14 +02:00
|
|
|
ExecStart=/usr/bin/traefik --configFile=/etc/traefik/traefik1.7.toml
|
2021-05-03 14:11:33 +02:00
|
|
|
Restart=always
|
|
|
|
WatchdogSec=1s
|
|
|
|
PrivateTmp=true
|
|
|
|
ProtectSystem=full
|
|
|
|
AmbientCapabilities=CAP_NET_BIND_SERVICE
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|