#:use-module (guix records)
#:use-module (ice-9 match)
#:export (wesnothd-configuration
- wesnoth-configuration?
+ wesnothd-configuration?
wesnothd-service-type))
;;;
(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