summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChris Palmer <cpalmer@tailscale.com>2024-01-26 16:08:12 -0800
committerChris Palmer <cpalmer@tailscale.com>2024-01-26 16:08:12 -0800
commit1b904571813583e41ece794277ddbf978a11b6ff (patch)
treeb3af693dc2295b95edbde1b333d47b137c306430
parentfbfc3b7e5192ce332b8c162543d47ce502953d71 (diff)
downloadtailscale-noncombatant/add-hello-systemd.tar.xz
tailscale-noncombatant/add-hello-systemd.zip
cmd/hello: add a systemd configuration filenoncombatant/add-hello-systemd
Updates #cleanup Signed-off-by: Chris Palmer <cpalmer@tailscale.com>
-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