aboutsummaryrefslogtreecommitdiff
path: root/repo/rathole/[email protected]
diff options
context:
space:
mode:
Diffstat (limited to 'repo/rathole/[email protected]')
-rw-r--r--repo/rathole/[email protected]17
1 files changed, 17 insertions, 0 deletions
diff --git a/repo/rathole/[email protected] b/repo/rathole/[email protected]
new file mode 100644
index 0000000..3385251
--- /dev/null
+++ b/repo/rathole/[email protected]
@@ -0,0 +1,17 @@
+[Unit]
+Description=Rathole Server Service (%i)
+After=network-online.target
+Wants=network-online.target
+
+[Service]
+Type=simple
+Restart=on-failure
+RestartSec=5s
+LimitNOFILE=1048576
+Environment="RUST_LOG=info"
+ExecStart=/usr/bin/rathole --server /etc/rathole/%i.toml
+KillSignal=SIGINT
+TimeoutStopSec=10
+
+[Install]
+WantedBy=multi-user.target