diff --git a/srcpkgs/tor/files/tor/run b/srcpkgs/tor/files/tor/run new file mode 100755 index 00000000000..9a50432c012 --- /dev/null +++ b/srcpkgs/tor/files/tor/run @@ -0,0 +1,2 @@ +#!/bin/sh +exec tor --quiet -f /etc/tor/torrc diff --git a/srcpkgs/tor/template b/srcpkgs/tor/template index 93e6234e49b..d6636538f62 100644 --- a/srcpkgs/tor/template +++ b/srcpkgs/tor/template @@ -1,7 +1,7 @@ # Template file for 'tor' pkgname=tor version=0.2.5.10 -revision=1 +revision=2 build_options="systemd" build_style=gnu-configure makedepends="zlib-devel libressl-devel libevent-devel" @@ -26,4 +26,6 @@ post_install() { # Install systemd service. vinstall ${FILESDIR}/tor.service 644 usr/lib/systemd/system fi + + vsv tor }