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
No known key found for this signature in database
GPG Key ID: 2E25EE8B61802BB3
1 changed files with 2 additions and 1 deletions

View File

@ -65,7 +65,8 @@
(modules '((gnu build shepherd))) (modules '((gnu build shepherd)))
(start #~(make-forkexec-constructor/container (start #~(make-forkexec-constructor/container
(list #$(file-append package "/bin/wesnothd") (list #$(file-append package "/bin/wesnothd")
"-p" #$(number->string port)))) "-p" #$(number->string port))
#:user "wesnothd" #:group "wesnothd"))
(stop #~(make-kill-destructor))))))) (stop #~(make-kill-destructor)))))))
(define wesnothd-service-type (define wesnothd-service-type