From efa05d7633e97832e28d4e051b42c92d01026514 Mon Sep 17 00:00:00 2001 From: Petri Hienonen Date: Fri, 2 Jan 2026 20:53:24 +0200 Subject: Second commit --- pub.service | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 pub.service (limited to 'pub.service') diff --git a/pub.service b/pub.service new file mode 100644 index 0000000..34eb743 --- /dev/null +++ b/pub.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 -- cgit v1.2.3-70-g09d2