2018-10-21 16:13:07 -05:00
|
|
|
#! /usr/bin/env bash
|
|
|
|
#
|
|
|
|
# Simple wmstartup service
|
|
|
|
# Copyright (C) 2018 salt <salt@lap-th-e560-0>
|
|
|
|
#
|
|
|
|
# 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"
|
|
|
|
|
2018-10-28 01:12:57 -05:00
|
|
|
isup() {
|
|
|
|
pgrep -U "$UID" -f "$service_process" > /dev/null 2>&1
|
|
|
|
isup-extra $?
|
|
|
|
return $?
|
|
|
|
}
|
|
|
|
|