Paste number 356859: gs config example

Paste number 356859: gs config example
Pasted by: n
When:4 years, 11 months ago
Share:Tweet this! |
Paste contents:
Raw Source | XML | Display As
(use-modules (gnu)
             (hidamari-blue gnu-social)
             (hidamari-blue php-fpm))
(use-service-modules networking ssh web mcron databases)
(use-package-modules web admin databases certs)

(define gs-config
   (site-domain "localhost")
;; TODO FIXME SECURITY don't put plaintext passwords here
   (db-password <db-user-password-as-string-here>)
   (admin-password <gs-admin-password-as-string-here>)
   (language "fr")
   (logfile "/var/log/gnu-social.log")))

 (host-name "tomato")
 (timezone "Europe/Berlin")
 (locale "en_US.utf8")

 (bootloader (bootloader-configuration
              (bootloader grub-bootloader)
              (target "/dev/sda")))
 (file-systems (cons (file-system
                      (device "/dev/sda3")
                      (title 'device)
                      (mount-point "/")
                      (type "ext4"))

 ;; This is where user accounts are specified.  The "root"
 ;; account is implicit, and is initially created with the
 ;; empty password.
 (users %base-user-accounts)

 ;; Globally-installed packages.
 (packages (cons* nss-certs tcpdump %base-packages))

 (services (cons* (dhcp-client-service)
                  (service openssh-service-type
                            (password-authentication? #f)))

                  (service php-fpm-service-type
                            (workers-logfile "/var/log/fpm-php.www.log")))
                  (service gnu-social-service-type

                  (service nginx-service-type
                               nginx gnu-social gs-config)))))

                  (service mcron-service-type)


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.