tor: add runit service. closes #610.
This commit is contained in:
2
srcpkgs/tor/files/tor/run
Executable file
2
srcpkgs/tor/files/tor/run
Executable file
@@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
exec tor --quiet -f /etc/tor/torrc
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user