From 3685eff4161ae3d4e1ca3225efcbb0efc5697f46 Mon Sep 17 00:00:00 2001 From: Juan Manuel Parrilla Date: Mon, 25 May 2015 19:48:40 +0200 Subject: [PATCH] init script modifications --- rpm/spec/shelfzilla.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/rpm/spec/shelfzilla.spec b/rpm/spec/shelfzilla.spec index a7c3212..bc401df 100644 --- a/rpm/spec/shelfzilla.spec +++ b/rpm/spec/shelfzilla.spec @@ -55,6 +55,11 @@ cp -r %{_gitdir}/rpm/scripts/shelfzilla $RPM_BUILD_ROOT%{_init_path} # post-install section: # -------------------------------------------------------------------------------------------- # %post +## Modify Init Script +chmod 775 %{_init_path}/shelfzilla +chkconfig --add shelfzilla +chkconfig shelfzilla on + ## Npm install cd %{_app_dir} && npm install --production