19 lines
392 B
Bash
Executable File
19 lines
392 B
Bash
Executable File
#! /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"
|
|
|
|
isup() {
|
|
pgrep -U "$UID" -f "$service_process" > /dev/null 2>&1
|
|
isup-extra $?
|
|
return $?
|
|
}
|
|
|