1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

services: wesnothd: Run as wesnothd user and group.

* gnu/services/games.scm (wesnothd-shepherd-service): Run as wesnothd user and
group.
This commit is contained in:
Arun Isaac
2018-11-20 22:39:37 +05:30
parent 5e369f8ab9
commit 662e2285f5

View File

@@ -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