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:
parent
5e369f8ab9
commit
662e2285f5
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue