aboutsummaryrefslogtreecommitdiff
path: root/shepherd/init.d/ipfs.scm
blob: 1b8d21ab41518380bd297fde55829f69187fae39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
(define ipfs
  (make <service>
	#:provides '(ipfs)
	#:docstring "Run the IPFS daemon"
	#:start (make-forkexec-constructor
		  '("/usr/bin/sudo" "/home/shepherd/run_ipfs.sh")
		  #:log-file "/home/shepherd/logs/ipfs.log")
	#:stop (make-kill-destructor)
	#:respawn? #t))
(register-services ipfs)

(start ipfs)