wmstartup: Add xrdbupdate startup task

This commit is contained in:
Salt 2018-08-27 19:55:24 -05:00
parent e9bde16308
commit a8c7cd2789
2 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,22 @@
#! /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="Xresources"
service_process="xrdbupdate"
service_kill_on_reload="false"
function start() {
svc_log "Updating"
$service_process $service_flags > /dev/null 2>&1 &
return 0
}
function stop() {
return 1
}