From cb025ae8d403bb908ecca7db377ff44435d0190b Mon Sep 17 00:00:00 2001 From: Maxim Baz Date: Thu, 9 Apr 2020 18:14:00 +0200 Subject: [PATCH] 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. --- croc.service | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 croc.service diff --git a/croc.service b/croc.service new file mode 100644 index 0000000..6d381f1 --- /dev/null +++ b/croc.service @@ -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