mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
suse specific changes to salt-api.service
* run service under user salt * change type from notify to simple * set SHELL env var. When passing a ProxyCommand option to salt-ssh a valid $SHELL is needed execute the given command
This commit is contained in:
parent
b0a2414d68
commit
ee911a74b4
1 changed files with 14 additions and 1 deletions
|
@ -1 +0,0 @@
|
|||
../salt-api.service
|
14
pkg/suse/salt-api.service
Normal file
14
pkg/suse/salt-api.service
Normal file
|
@ -0,0 +1,14 @@
|
|||
[Unit]
|
||||
Description=The Salt API
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
User=salt
|
||||
Type=simple
|
||||
Environment=SHELL=/bin/bash
|
||||
LimitNOFILE=8192
|
||||
ExecStart=/usr/bin/salt-api
|
||||
TimeoutStopSec=3
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Add table
Reference in a new issue