mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 17:02:56 +02:00
polipo: remove systemd build option (#1736)
This commit is contained in:
parent
4daafb4c6c
commit
90f9d900ce
2 changed files with 1 additions and 17 deletions
|
@ -1,11 +0,0 @@
|
||||||
[Unit]
|
|
||||||
Description=Polipo Proxy Server
|
|
||||||
After=network.target
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
Type=forking
|
|
||||||
ExecStart=/usr/bin/polipo daemonise=true logFile="/var/log/polipo.log"
|
|
||||||
User=nobody
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
|
@ -1,8 +1,7 @@
|
||||||
# Template file for 'polipo'
|
# Template file for 'polipo'
|
||||||
pkgname=polipo
|
pkgname=polipo
|
||||||
version=1.1.1
|
version=1.1.1
|
||||||
revision=3
|
revision=4
|
||||||
build_options="systemd"
|
|
||||||
replaces="runit-void<20141013_2"
|
replaces="runit-void<20141013_2"
|
||||||
short_desc="A small and fast caching web proxy"
|
short_desc="A small and fast caching web proxy"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
|
@ -23,9 +22,5 @@ do_install() {
|
||||||
# install sample config files
|
# install sample config files
|
||||||
vinstall config.sample 644 usr/share/examples/polipo
|
vinstall config.sample 644 usr/share/examples/polipo
|
||||||
vinstall forbidden.sample 644 usr/share/examples/polipo
|
vinstall forbidden.sample 644 usr/share/examples/polipo
|
||||||
if [ "$build_option_systemd" ]; then
|
|
||||||
# systemd service
|
|
||||||
vinstall ${FILESDIR}/polipo.service 644 usr/lib/systemd/system
|
|
||||||
fi
|
|
||||||
vsv polipo
|
vsv polipo
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue