commit:     cf028d8668fa3a4e2c4b113a91d0dc65a75cdb09
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 17 16:43:39 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Dec 17 16:43:39 2025 +0000
URL:        https://gitweb.gentoo.org/proj/steve.git/commit/?id=cf028d86

Start steve as steve user

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 data/steve.initd   | 1 +
 data/steve.service | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/data/steve.initd b/data/steve.initd
index 2db7f81..f9107cc 100644
--- a/data/steve.initd
+++ b/data/steve.initd
@@ -2,4 +2,5 @@
 command="/usr/bin/steve"
 command_args="${STEVE_OPTS}"
 command_background=true
+command_user="steve:steve"
 pidfile="/run/${RC_SVCNAME}.pid"

diff --git a/data/steve.service b/data/steve.service
index be4d774..29d1382 100644
--- a/data/steve.service
+++ b/data/steve.service
@@ -1,6 +1,8 @@
 [Service]
 Type=exec
 ExecStart=/usr/bin/steve
+User=steve
+Group=steve
 
 [Install]
 WantedBy=multi-user.target

Reply via email to