aboutsummaryrefslogtreecommitdiff
path: root/examples/systemd/rathole@.service
blob: 508ba32f46725f6abc2b20990d98135ffdfa4d10 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[Unit]
Description=Rathole Service
After=network.target

[Service]
Type=simple
DynamicUser=yes
Restart=on-failure
RestartSec=5s
ExecStart=/usr/bin/rathole /etc/rathole/%i.toml
LimitNOFILE=1048576

[Install]
WantedBy=multi-user.target