From 1b904571813583e41ece794277ddbf978a11b6ff Mon Sep 17 00:00:00 2001 From: Chris Palmer Date: Fri, 26 Jan 2024 16:08:12 -0800 Subject: [PATCH] cmd/hello: add a systemd configuration file Updates #cleanup Signed-off-by: Chris Palmer --- cmd/hello/hello.service | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 cmd/hello/hello.service diff --git a/cmd/hello/hello.service b/cmd/hello/hello.service new file mode 100644 index 000000000..f909d04b5 --- /dev/null +++ b/cmd/hello/hello.service @@ -0,0 +1,14 @@ +[Unit] +StartLimitIntervalSec=0 +StartLimitBurst=0 + +[Service] +ExecStart=/root/hello +WorkingDirectory=/root +User=root +Group=root +Restart=on-failure +LimitNOFILE=128000 + +[Install] +WantedBy=multi-user.target