Make systemd unit installable
Having a install section makes it possible to enable/disable traefik using the standard systemd commands `systemctl enable traefik` `systemctl disable traefk`
This commit is contained in:
parent
d629939cf3
commit
45f2335a60
1 changed files with 3 additions and 0 deletions
|
@ -4,3 +4,6 @@ Description=Traefik
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/bin/traefik --configFile=/etc/traefik.toml
|
ExecStart=/usr/bin/traefik --configFile=/etc/traefik.toml
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
|
|
Loading…
Add table
Reference in a new issue