Commit 0119c848 authored by Seblu's avatar Seblu
Browse files

checkservice: parse systemd-245 list-units output

parent f6cd4fd6
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@ arch=('any')
url='https://git.seblu.net/archlinux/archutils'
license=('GPL2')
makedepends=('git')
depends=('python' 'bash' 'zsh' 'file' 'grep' 'pyalpm' 'python-pyelftools'
depends=('python' 'bash' 'zsh' 'file' 'grep' 'gawk' 'pyalpm' 'python-pyelftools'
         'python-pygments' 'pacman-contrib')
provides=('archutils' 'kernel-reinstall')
replaces=('kernel-reinstall')
+1 −1
Original line number Diff line number Diff line
@@ -90,7 +90,7 @@ confirm() {

# get running systemd services
get_services() {
    systemctl --no-legend --full --type service --state running|cut -f1 -d' '
    systemctl list-units --no-legend --plain --full --type service --state running|awk '{print $1}'
}

# get systemd services with updated mapped files