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

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

[Install]
WantedBy=multi-user.target