aboutsummaryrefslogtreecommitdiff
path: root/repo/rathole/[email protected]
diff options
context:
space:
mode:
authorKunoiSayami <[email protected]>2026-08-17 19:47:11 +0800
committerKunoiSayami <[email protected]>2026-08-17 19:47:11 +0800
commit3479a3e08d3a67db06ed06d692d09ecbd213ba7d (patch)
tree3fa2202f71192da5451a01794211a3034c067566 /repo/rathole/[email protected]
parent6806ce7458beefa743fb039c2734d2b122872469 (diff)
feat(add-pkg): Add rathole
Co-Authored-By: Claude Opus 5 <[email protected]> Signed-off-by: KunoiSayami <[email protected]>
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..27f9f26
--- /dev/null
+++ b/repo/rathole/[email protected]
@@ -0,0 +1,17 @@
+[Unit]
+Description=Rathole 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 /etc/rathole/%i.toml
+KillSignal=SIGINT
+TimeoutStopSec=10
+
+[Install]
+WantedBy=multi-user.target