aboutsummaryrefslogtreecommitdiffstats
path: root/hub.service
diff options
context:
space:
mode:
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