#! /usr/bin/env bash # # Simple wmstartup service # Copyright (C) 2018 salt # # Distributed under terms of the MIT license. # service_name="KDE Polkit Agent" service_process="/usr/lib/x86_64-linux-gnu/libexec/polkit-kde-authentication-agent-1" service_kill_on_reload="false" isup() { pgrep -U "$UID" -f "$service_process" > /dev/null 2>&1 isup-extra $? return $? }