about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMunyoki Kilyungi2026-01-07 19:52:56 +0300
committerMunyoki Kilyungi2026-01-13 17:09:39 +0300
commita4737495bc277f5a440e2db62b8033ac2d247d76 (patch)
tree1b76769f2aa545b3c4ce3b54689a2e1ec2f4830c
parent9c13c5cf1221aed80538073ece42151c26eb13cc (diff)
downloadgn-machines-a4737495bc277f5a440e2db62b8033ac2d247d76.tar.gz
Delete unused services.
-rw-r--r--services/README.md17
-rw-r--r--services/gn-guile.scm52
-rw-r--r--services/opensmtpd.scm21
3 files changed, 0 insertions, 90 deletions
diff --git a/services/README.md b/services/README.md
deleted file mode 100644
index d0d1c01..0000000
--- a/services/README.md
+++ /dev/null
@@ -1,17 +0,0 @@
-# Services
-
-This directory contains small and simple services that may be run independently.
-Note that composition is not the goal.
-For example, databases and web proxies are handled outsite the containers.
-Use these services for simple deployment and ad hoc testing.
-One nice aspect of small system containers is that you can run these easily on your laptop.
-
-IMPORTANT: more complex services do not belong in this directory.
-
-# Examples
-
-## gn-guile
-
-`gn-guile` is our next generation service (gn4?). It provides a REST API, at this point, and some portals, such as https://aging.genenetwork.org/.
-
-See the [gn-guile](./gn-guile.scm) system definition example.
diff --git a/services/gn-guile.scm b/services/gn-guile.scm
deleted file mode 100644
index 2f675a8..0000000
--- a/services/gn-guile.scm
+++ /dev/null
@@ -1,52 +0,0 @@
-;; This is an example definition for the gn-guile/GN4 service
-;;
-;; Run with
-;;
-;;   export runner=$(guix system container gn-guile.scm)
-;;
-;; as root
-;;
-;;   sudo bash -c $runner
-;;   echo $runner
-;;
-;; make a note of pid and
-;;
-;;   sudo bash -c "nsenter -a -t 4050285"
-;;
-;; now you should be inside the container (note bash should be in the container!)
-
-(use-modules (gnu)
-             (guix records)
-             (forge utils))
-
-(define-record-type* <gn-guile-configuration>
-  gn-guile-configuration make-gn-guile-configuration
-  gn-guile-configuration?
-  (gn2-repository gn-guile-configuration-gn2-repository
-                  (default "https://github.com/genenetwork/genenetwork2"))
-  (gn2-port gn-guile-configuration-gn2-port
-            (default 8082)))
-
-
-(define gn-guile-service-type
-  (service-type
-   (name 'gn-guile)
-   (description "gn-guile/GN4 webservice")
-   (extensions '())
-   ))
-
-(operating-system
- (host-name "gn-guile")
- (timezone "UTC")
- (locale "en_US.utf8")
- (bootloader (bootloader-configuration
-              (bootloader grub-bootloader)
-              (targets (list "/dev/sdX"))))
- (file-systems %base-file-systems)
- (users %base-user-accounts)
- (packages %base-packages)
-
- (services (cons
-            (service gn-guile-service-type
-                     (gn-guile-configuration))
-            %base-services)))
diff --git a/services/opensmtpd.scm b/services/opensmtpd.scm
deleted file mode 100644
index 1b1e58f..0000000
--- a/services/opensmtpd.scm
+++ /dev/null
@@ -1,21 +0,0 @@
-(use-modules (gnu)
-             (gnu services mail))
-
-(operating-system
-  (host-name "mail")
-  (timezone "UTC")
-  (locale "en_US.utf8")
-  (bootloader (bootloader-configuration
-               (bootloader grub-bootloader)
-               (targets (list "/dev/sdX"))))
-  (file-systems %base-file-systems)
-  (users %base-user-accounts)
-  (packages %base-packages)
-
-  (services (cons
-             (service opensmtpd-service-type
-                      (opensmtpd-configuration
-                       (config-file %default-opensmtpd-config-file
-                       ; (config-file (local-file "./my-smtpd.conf")))
-                                    )))
-             %base-services)))