aboutsummaryrefslogtreecommitdiffstats
path: root/hub.service
diff options
context:
space:
mode:
authorPetri Hienonen <petri.hienonen@gmail.com>2026-01-02 11:39:29 +0200
committerPetri Hienonen <petri.hienonen@gmail.com>2026-01-02 11:39:29 +0200
commit11392621501d7b5206bc521d6d2a50e2c4e36c45 (patch)
tree7b2d51c89d58f7374fd464ba05d8b60b6df6a91a /hub.service
downloadpub-11392621501d7b5206bc521d6d2a50e2c4e36c45.tar.zst
Initial commit
Diffstat (limited to 'hub.service')
-rw-r--r--hub.service18
1 files changed, 18 insertions, 0 deletions
diff --git a/hub.service b/hub.service
new file mode 100644
index 0000000..34eb743
--- /dev/null
+++ b/hub.service
@@ -0,0 +1,18 @@
+# /etc/systemd/system/atom-publisher.service
+[Unit]
+Description=Data Publication HUB
+After=network.target
+StartLimitIntervalSec=10
+
+[Service]
+DynamicUser=true
+Type=simple
+Restart=always
+RestartSec=10
+User=publisher
+ExecStart=/usr/local/bin/hub
+MemoryHigh=20M
+MemoryMax=30M
+
+[Install]
+WantedBy=multi-user.target