nbd: remove systemd build option (#1736)
This commit is contained in:
parent
d8664a4459
commit
2b5f1a4f8b
2 changed files with 1 additions and 15 deletions
|
@ -1,10 +0,0 @@
|
|||
[Unit]
|
||||
Description=Network Block Device Server
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStart=/usr/bin/nbd-server
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
|
@ -1,12 +1,11 @@
|
|||
# Template file for 'nbd'
|
||||
pkgname=nbd
|
||||
version=3.11
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
configure_args="--enable-syslog --sbindir=/usr/bin"
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="libglib-devel"
|
||||
build_options="systemd"
|
||||
system_accounts="nbd"
|
||||
nbd_homedir="/var/chroot"
|
||||
conf_files="/etc/nbd-server/config"
|
||||
|
@ -20,8 +19,5 @@ checksum=b681ff0ae05e16e679814d8c87661844c582c716f9440bcfbd673ebc1dba1cfc
|
|||
post_install() {
|
||||
vsv nbd
|
||||
vinstall ${FILESDIR}/config 644 etc/nbd-server
|
||||
if [ "$build_option_systemd" ]; then
|
||||
vinstall ${FILESDIR}/nbd.service 644 usr/lib/systemd/system
|
||||
fi
|
||||
vdoc doc/README
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue