Paste number 147787: user dmd conf

Paste number 147787: user dmd conf
Pasted by: davexuni
When:7 years, 1 week ago
Share:Tweet this! | http://paste.lisp.org/+3617
Channel:None
Paste contents:
Raw Source | XML | Display As
(define (simple-service program)
  (make <service>
    #:provides (list (string->symbol program))
    #:requires '()
    #:start (make-forkexec-constructor (list program))
    #:stop (make-kill-destructor)))

(register-services
 (simple-service "offlineimap")
 (simple-service "mpd")
 (simple-service "mpdscribble"))

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

;; Services to start when dmd starts:
(for-each start '(offlineimap mpd mpdscribble))

This paste has no annotations.

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.