diff --git a/README.md b/README.md index 6b0be28..eb1ef88 100644 --- a/README.md +++ b/README.md @@ -7,4 +7,3 @@ Services -------- A service is a script in the ssm's init.d directory. By default it's /etc/ssm/init.d for system services and $XDG_CONFIG_HOME/ssm/init.d for user ones. -ssm creates relevant dirs if they don't exist. diff --git a/ssm b/ssm index f8b91da..e6158d2 100755 --- a/ssm +++ b/ssm @@ -349,7 +349,7 @@ main() { default XDG_CONFIG_HOME "$HOME/.config" default XDG_RUNTIME_DIR "/run/user/$UID" - service_path=( "$XDG_CONFIG_HOME/ssm/init.d" ) + service_path=( "$XDG_CONFIG_HOME/ssm/services" ) cfg_path=( "$XDG_CONFIG_HOME/ssm" ) rundir="$XDG_RUNTIME_DIR/ssm" @@ -360,7 +360,7 @@ main() { fi # Common service path - service_path+=( '/etc/ssm/init.d' "$rundir/services" "$usrdir/services" ) + service_path+=( '/etc/ssm/services' "$rundir/services" "$usrdir/services" ) # Common config path cfg_path+=( '/etc/ssm/conf.d' )