From 3479a3e08d3a67db06ed06d692d09ecbd213ba7d Mon Sep 17 00:00:00 2001 From: KunoiSayami Date: Mon, 17 Aug 2026 19:47:11 +0800 Subject: feat(add-pkg): Add rathole Co-Authored-By: Claude Opus 5 Signed-off-by: KunoiSayami --- repo/rathole/ratholec@.service | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 repo/rathole/ratholec@.service (limited to 'repo/rathole/ratholec@.service') diff --git a/repo/rathole/ratholec@.service b/repo/rathole/ratholec@.service new file mode 100644 index 0000000..7a91833 --- /dev/null +++ b/repo/rathole/ratholec@.service @@ -0,0 +1,17 @@ +[Unit] +Description=Rathole Client 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 --client /etc/rathole/%i.toml +KillSignal=SIGINT +TimeoutStopSec=10 + +[Install] +WantedBy=multi-user.target -- cgit v1.3.1