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]
|
||||
ExecStart=/usr/bin/traefik --configFile=/etc/traefik.toml
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
Loading…
Reference in a new issue