also search for services in a package dir
Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
parent
253fd1f094
commit
34a43d4db6
4
ssm
4
ssm
|
@ -342,6 +342,8 @@ main() {
|
|||
# Let's set some defaults
|
||||
service_managed=1
|
||||
|
||||
usrdir='/usr/share/ssm'
|
||||
|
||||
if (( $UID )); then
|
||||
# XDG stuff
|
||||
default XDG_CONFIG_HOME "$HOME/.config"
|
||||
|
@ -356,7 +358,7 @@ main() {
|
|||
logdir='/var/log/ssm'
|
||||
fi
|
||||
|
||||
service_path+=( "$cfgdir/init.d" "$rundir/services" )
|
||||
service_path+=( "$cfgdir/init.d" "$rundir/services" "$usrdir/services" )
|
||||
|
||||
# Load custom functions
|
||||
for f in "$cfgdir/functions"/*; do
|
||||
|
|
Loading…
Reference in New Issue
Block a user