From 662e2285f502b65600b0b5a12c040d050be8999d Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Tue, 20 Nov 2018 22:39:37 +0530 Subject: services: wesnothd: Run as wesnothd user and group. * gnu/services/games.scm (wesnothd-shepherd-service): Run as wesnothd user and group. --- gnu/services/games.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gnu/services/games.scm b/gnu/services/games.scm index b9d78e078d..b743f6a4b6 100644 --- a/gnu/services/games.scm +++ b/gnu/services/games.scm @@ -65,7 +65,8 @@ (define wesnothd-shepherd-service (modules '((gnu build shepherd))) (start #~(make-forkexec-constructor/container (list #$(file-append package "/bin/wesnothd") - "-p" #$(number->string port)))) + "-p" #$(number->string port)) + #:user "wesnothd" #:group "wesnothd")) (stop #~(make-kill-destructor))))))) (define wesnothd-service-type -- cgit v1.2.3