diff options
Diffstat (limited to '')
| -rwxr-xr-x | hub | bin | 0 -> 9569432 bytes | |||
| -rw-r--r-- | hub.service | 18 |
2 files changed, 18 insertions, 0 deletions
| Binary files differ 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 |
