Create salt-proxy instantiated service file

Add a systemd service file for salt-proxy. 

Instantiate a new proxy service with proxyid=p8000:
# systemctl enable salt-proxy\@p8000.service
# systemctl start salt-proxy\@p8000.service
This commit is contained in:
Christian McHugh 2016-03-10 13:25:01 -06:00
parent 617fb0ce8f
commit 4000e68356

12
pkg/salt-proxy@.service Normal file
View File

@ -0,0 +1,12 @@
[Unit]
Description=salt-proxy service
After=network.target
[Service]
ExecStart=/usr/bin/salt-proxy --proxyid=%I
Type=simple
Restart=on-failure
RestartSec=5s
[Install]
WantedBy=multi-user.target