Commit Graph

4 Commits

Author SHA1 Message Date
Mircea Ulinic
0c1221ea7b Use the escaped name (%i) in the proxy description 2017-05-26 09:45:54 +00:00
Jeremy McDermond
48f47e3925 salt-proxy: Fix systemd unit file to handle more proxy names
The current systemd unit file uses %I which gives the unescaped argument
to the script.  This breaks if there are special characters in the proxy
name such as '-'.  Using %i escapes the name when it's handed to the command
line allowing the use of those characters.

This change also adds the argument to the template to the unit name so that
it's a bit easier to see in systemctl.

Conflicts:
	pkg/salt-proxy@.service
2017-05-26 09:35:22 +00:00
Benjamin Drung
3f7f30895d Add documentation key to systemd service files
Documentation for systemd service files can be automatically viewed
using systemctl help servicename if this field is present. Thus add the
relevant man page, the local and online documentation to the
documentation key.
2017-05-24 11:14:39 +02:00
Christian McHugh
4000e68356 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
2016-03-10 13:25:01 -06:00