From d9f22bf634c2e96e22c418405deba946d1d23af8 Mon Sep 17 00:00:00 2001 From: fbt Date: Sun, 10 Dec 2017 19:27:51 +0300 Subject: [PATCH] init.d -> services Signed-off-by: fbt --- README.md | 1 - ssm | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) 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' )