aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorArun Isaac <arunisaac@systemreboot.net>2018-11-20 22:39:37 +0530
committerArun Isaac <arunisaac@systemreboot.net>2018-11-20 22:40:44 +0530
commit662e2285f502b65600b0b5a12c040d050be8999d (patch)
tree9fed9392b8f5c89bb4884d1b415d6cef6d2866b7 /gnu
parent5e369f8ab9e230193194b4d5846a5c78bbc89943 (diff)
downloadgnu-guix-662e2285f502b65600b0b5a12c040d050be8999d.tar
gnu-guix-662e2285f502b65600b0b5a12c040d050be8999d.tar.gz
services: wesnothd: Run as wesnothd user and group.
* gnu/services/games.scm (wesnothd-shepherd-service): Run as wesnothd user and group.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/services/games.scm3
1 files changed, 2 insertions, 1 deletions
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 @@
(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