mirror of
https://github.com/schollz/croc.git
synced 2024-11-28 01:16:10 +03:00
Merge pull request #210 from maximbaz/add-systemd-service
Add systemd service
This commit is contained in:
commit
0860283407
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…
Reference in New Issue
Block a user