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:
David Keijser 2016-08-12 12:52:35 +02:00
parent d629939cf3
commit 45f2335a60

View file

@ -4,3 +4,6 @@ Description=Traefik
[Service]
ExecStart=/usr/bin/traefik --configFile=/etc/traefik.toml
Restart=on-failure
[Install]
WantedBy=multi-user.target