aboutsummaryrefslogtreecommitdiff
path: root/www-apps/meta-srht/files/meta.sr.ht-api.service
diff options
context:
space:
mode:
Diffstat (limited to 'www-apps/meta-srht/files/meta.sr.ht-api.service')
-rw-r--r--www-apps/meta-srht/files/meta.sr.ht-api.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/www-apps/meta-srht/files/meta.sr.ht-api.service b/www-apps/meta-srht/files/meta.sr.ht-api.service
new file mode 100644
index 0000000..ee94056
--- /dev/null
+++ b/www-apps/meta-srht/files/meta.sr.ht-api.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=meta.sr.ht API service
+After= network.target
+
+[Service]
+Type=simple
+User=metasrht
+Restart=always
+ExecStart=/usr/bin/metasrht-api -b :5100
+
+[Install]
+WantedBy=multi-user.target