aboutsummaryrefslogtreecommitdiff
path: root/shepherd/init.d/hrdp-project.scm
blob: 54ad53a1b3f91227f0d32ce77724d1d8e1031772 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
(define hrdp-project
  (make <service>
	#:provides '(hrdp-project)
	#:docstring "Run the hrdp-project web server"
	#:start (make-forkexec-constructor
		  '("/var/guix/profiles/per-user/shepherd/current-guix/bin/guix"
		    "environment" "--ad-hoc" "hrdp-project" "--"
		    "sh" "-c" "$GUIX_ENVIRONMENT/main.py")
		  #:log-file "/home/shepherd/logs/hrdp-project.log")
	#:stop (make-kill-destructor)
	#:respawn? #t))
(register-services hrdp-project)

(start hrdp-project)