diff options
| author | KunoiSayami <[email protected]> | 2026-08-17 19:47:11 +0800 |
|---|---|---|
| committer | KunoiSayami <[email protected]> | 2026-08-17 19:47:11 +0800 |
| commit | 3479a3e08d3a67db06ed06d692d09ecbd213ba7d (patch) | |
| tree | 3fa2202f71192da5451a01794211a3034c067566 /repo/rathole/[email protected] | |
| parent | 6806ce7458beefa743fb039c2734d2b122872469 (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..7a91833 --- /dev/null +++ b/repo/rathole/[email protected] @@ -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 |
