mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-23 21:17:11 -05: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:
parent
5e369f8ab9
commit
662e2285f5
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue