mirror of
https://github.com/schollz/croc.git
synced 2025-10-10 21:01:02 +02:00
Add systemd service
A while ago a user contributed this systemd service to Arch package, I thought it would make sense to have it available in the repo itself, so that (a) other people can find it easier and (b) if there are any improvements, the entire community will benefit of them.
This commit is contained in:
parent
9bf470ef29
commit
cb025ae8d4
1 changed files with 12 additions and 0 deletions
12
croc.service
Normal file
12
croc.service
Normal file
|
@ -0,0 +1,12 @@
|
|||
[Unit]
|
||||
Description=croc relay
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=nobody
|
||||
CapabilityBoundingSet=CAP_NET_BIND_SERVICE
|
||||
ExecStart=/usr/bin/croc relay
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Add table
Add a link
Reference in a new issue