mirror of
https://github.com/valitydev/salt.git
synced 2024-11-06 16:45:27 +00:00
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:
parent
617fb0ce8f
commit
4000e68356
12
pkg/salt-proxy@.service
Normal file
12
pkg/salt-proxy@.service
Normal 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
|
Loading…
Reference in New Issue
Block a user