diff options
author | root <root@rshg054.dnsready.net> | 2012-08-18 00:02:28 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-08-18 00:02:28 +0000 |
commit | 948da5eabcbf8d74270e661d0730ba1c203913f5 (patch) | |
tree | 8536fd0b4622f9f6c77cb4716bf5c315c457038a /community/icecast | |
parent | bbf2c63849bdf1654e767058f277da2e983c5f0b (diff) |
Sat Aug 18 00:02:28 UTC 2012
Diffstat (limited to 'community/icecast')
-rw-r--r-- | community/icecast/PKGBUILD | 13 | ||||
-rw-r--r-- | community/icecast/icecast.service | 9 |
2 files changed, 18 insertions, 4 deletions
diff --git a/community/icecast/PKGBUILD b/community/icecast/PKGBUILD index 2787666ab..a9b3ce358 100644 --- a/community/icecast/PKGBUILD +++ b/community/icecast/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 72696 2012-06-20 10:14:35Z lfleischer $ +# $Id: PKGBUILD 75222 2012-08-16 11:13:33Z lfleischer $ # Maintainer: # Contributor: Andrea Scarpino <andrea@archlinux.org> # Contributor: Andreas Radke <andyrtr@archlinux.org> @@ -6,7 +6,7 @@ pkgname=icecast pkgver=2.3.3 -pkgrel=1 +pkgrel=2 pkgdesc='Streaming audio over the Internet' arch=('i686' 'x86_64') license=('GPL') @@ -17,11 +17,13 @@ backup=('etc/icecast.xml' source=("http://downloads.us.xiph.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz" 'icecastd' 'icecast.logrotate' - 'start-by-nobody.patch') + 'start-by-nobody.patch' + 'icecast.service') md5sums=('2b5d1b40778922e5f6431b7758c359ad' 'e823c1fdb080aae3d0c54ef8be95f7cb' '59c6552bcb1dd9fb542af8670dfabd3c' - 'd8e929d2214123a1954da4383bf16583') + 'd8e929d2214123a1954da4383bf16583' + 'ada6c389351af0487b5c62198adb4e2f') build() { cd "${srcdir}/${pkgname}-${pkgver}" @@ -47,4 +49,7 @@ package() { # create log directory install -d -g99 -o99 "${pkgdir}/var/log/icecast" + + # install systemd unit + install -Dm0644 "${srcdir}/icecast.service" "${pkgdir}/usr/lib/systemd/system/icecast.service" } diff --git a/community/icecast/icecast.service b/community/icecast/icecast.service new file mode 100644 index 000000000..fb3900b45 --- /dev/null +++ b/community/icecast/icecast.service @@ -0,0 +1,9 @@ +[Unit] +Description=Icecast Network Audio Streaming Server +After=network.target + +[Service] +ExecStart=/usr/bin/icecast -b -c /etc/icecast.xml + +[Install] +WantedBy=multi-user.target |