Paste number 305867: services

Index of paste annotations: 1 | 2

Paste number 305867: services
Pasted by: lfam
When:6 years, 6 months ago
Share:Tweet this! | http://paste.lisp.org/+6K0B
Channel:None
Paste contents:
Raw Source | XML | Display As
;; init.scm -- default dmd configuration file.

;; Services known to dmd:
;; Add new services (defined using 'make <service>') to dmd here by
;; providing them as arguments to 'register-services'.
(register-services '(cron))

(make <service>
  #:provides '(cron)
  #:requires '()
  #:start (make-forkexec-constructor '("mcron")))

;; Send dmd into the background
(action 'dmd 'daemonize)

;; Services to start when dmd starts:
;; Add the name of each service that should be started to the list
;; below passed to 'for-each'.
(for-each start '())

Annotations for this paste:

Annotation number 1: dmd output
Pasted by: lfam
When:6 years, 6 months ago
Share:Tweet this! | http://paste.lisp.org/+6K0B/1
Paste contents:
Raw Source | Display As
Service dmd has been started.
goops-error(#f "No applicable method for ~S in call ~S" (#<<generic> provided-by (1)> (provided-by (cron))) ())

Annotation number 2: init.scm
Pasted by: lfam
When:6 years, 6 months ago
Share:Tweet this! | http://paste.lisp.org/+6K0B/2
Paste contents:
Raw Source | Display As
;; init.scm -- default dmd configuration file.

;; Services known to dmd:
;; Add new services (defined using 'make <service>') to dmd here by
;; providing them as arguments to 'register-services'.
(register-services 
  (make <service>
        #:provides '(cron)
        #:requires '()
        #:start (make-forkexec-constructor '("mcron"))))

;; Send dmd into the background
(action 'dmd 'daemonize)

;; Services to start when dmd starts:
;; Add the name of each service that should be started to the list
;; below passed to 'for-each'.
(for-each start '())

Colorize as:
Show Line Numbers

Lisppaste pastes can be made by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively.