summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRodion Goritskov <rodion.goritskov@gmail.com>2024-04-12 23:48:54 +0400
committerRodion Goritskov <rodion.goritskov@gmail.com>2024-04-14 21:19:06 +0400
commit52d446df12e7ea4436acee30bd77c69a38cfe18c (patch)
tree0e4c0e822b83c1ebb3320d850211f2cd47fc5033
parent94d6f4c51c027db04027fcd1e63a5ab9103a8184 (diff)
Start of miniflux service
-rw-r--r--rodion/services/miniflux.scm13
1 files changed, 13 insertions, 0 deletions
diff --git a/rodion/services/miniflux.scm b/rodion/services/miniflux.scm
new file mode 100644
index 0000000..17f7876
--- /dev/null
+++ b/rodion/services/miniflux.scm
@@ -0,0 +1,13 @@
+(define-module (rodion services miniflux)
+ #:use-module (gnu services shepherd))
+
+(define miniflux-shepherd-service (shepherd-service
+ (documentation "Run Miniflux server")
+ (provision '(miniflux))
+ (requirement '(networking postgresql))))
+
+(define miniflux-service-type
+ (service-type (name 'miniflux)
+ (extensions
+ (list (service-extension shepherd-root-service-type
+ miniflux-shepherd-service)))))