1
0
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:
Zack 2020-04-09 09:49:55 -07:00 committed by GitHub
commit 0860283407
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

12
croc.service Normal file
View 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