summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)))))