diff options
Diffstat (limited to 'extra/misdnuser')
-rw-r--r-- | extra/misdnuser/PKGBUILD | 12 | ||||
-rw-r--r-- | extra/misdnuser/c2faxrecv-mISDNcapid.service | 11 | ||||
-rw-r--r-- | extra/misdnuser/mISDNcapid.service | 1 |
3 files changed, 21 insertions, 3 deletions
diff --git a/extra/misdnuser/PKGBUILD b/extra/misdnuser/PKGBUILD index c21c99615..93dae37a5 100644 --- a/extra/misdnuser/PKGBUILD +++ b/extra/misdnuser/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 162698 2012-06-28 13:43:33Z tpowa $ +# $Id: PKGBUILD 163040 2012-07-06 08:30:10Z tpowa $ # Maintainer: Tobias Powalowski <tpowa@archlinux.org> pkgname=misdnuser pkgver=2.0.13_20120607 -pkgrel=1 +pkgrel=2 pkgdesc="Tools and library for mISDN" arch=('i686' 'x86_64') url="http://www.misdn.org" @@ -14,6 +14,7 @@ options=('!makeflags' '!libtool' '!strip') source=(ftp://ftp.archlinux.org/other/misdnuser/${pkgname}-${pkgver}.tar.gz misdncapid.rc mISDNcapid.service + c2faxrecv-mISDNcapid.service mISDNcapid.conf) build() { @@ -35,9 +36,14 @@ package() { rm -r ${pkgdir}/etc/udev/ # add systemd files install -D -m644 ${srcdir}/mISDNcapid.service ${pkgdir}/usr/lib/systemd/system/mISDNcapid.service + # mISDNcapid: + # tends to crash on avmfritz card, add an extra systemd file for + # restarting the services until segfaults are fixed! + install -D -m644 ${srcdir}/c2faxrecv-mISDNcapid.service ${pkgdir}/usr/lib/systemd/system/c2faxrecv-mISDNcapid.service install -D -m644 ${srcdir}/mISDNcapid.conf ${pkgdir}/usr/lib/tmpfiles.d/mISDNcapid.conf } md5sums=('10b370c2010c9239161095e5d2a1cb3f' '2009563b144de037ecb20f8d727a772e' - '638b399f7e0937639960c4dfb3d5138e' + '8f305ee6e35fa12a8bec0632bfe7a076' + '32ead7f063e007c784aa883d441f33c2' '42c3b46880a68c3883ee1ed00af34b45') diff --git a/extra/misdnuser/c2faxrecv-mISDNcapid.service b/extra/misdnuser/c2faxrecv-mISDNcapid.service new file mode 100644 index 000000000..7a98ca435 --- /dev/null +++ b/extra/misdnuser/c2faxrecv-mISDNcapid.service @@ -0,0 +1,11 @@ +[Unit] +Description=mISDN CAPI to fax receive +Requires=faxq.service mISDNcapid.service +After=faxq.service mISDNcapid.service + +[Service] +ExecStart=/usr/bin/c2faxrecv +ExecReload=/bin/kill -HUP $MAINPID + +[Install] +WantedBy=multi-user.target diff --git a/extra/misdnuser/mISDNcapid.service b/extra/misdnuser/mISDNcapid.service index b2b08a0a5..94f38478a 100644 --- a/extra/misdnuser/mISDNcapid.service +++ b/extra/misdnuser/mISDNcapid.service @@ -5,6 +5,7 @@ Description=mISDN CAPI daemon Type=forking ExecStart=/usr/sbin/mISDNcapid ExecReload=/bin/kill -HUP $MAINPID +Restart=on-abort [Install] WantedBy=multi-user.target |