28 lines
640 B
Diff
28 lines
640 B
Diff
|
From e955cae5e0ba5fb5348edad433a01f11f1ca887a Mon Sep 17 00:00:00 2001
|
||
|
From: Michael Calmer <mc@suse.de>
|
||
|
Date: Fri, 29 Jul 2016 10:50:21 +0200
|
||
|
Subject: [PATCH 10/17] Run salt-api as user salt (bsc#990029)
|
||
|
|
||
|
---
|
||
|
pkg/salt-api.service | 4 ++--
|
||
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
||
|
|
||
|
diff --git a/pkg/salt-api.service b/pkg/salt-api.service
|
||
|
index c3e67d5..9be2cb8 100644
|
||
|
--- a/pkg/salt-api.service
|
||
|
+++ b/pkg/salt-api.service
|
||
|
@@ -3,8 +3,8 @@ Description=The Salt API
|
||
|
After=network.target
|
||
|
|
||
|
[Service]
|
||
|
-Type=notify
|
||
|
-NotifyAccess=all
|
||
|
+User=salt
|
||
|
+Type=simple
|
||
|
LimitNOFILE=8192
|
||
|
ExecStart=/usr/bin/salt-api
|
||
|
TimeoutStopSec=3
|
||
|
--
|
||
|
2.10.1
|
||
|
|