summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--cmd/hello/hello.service14
1 files changed, 14 insertions, 0 deletions
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