init script modifications
This commit is contained in:
parent
956adedf8b
commit
3685eff416
|
@ -55,6 +55,11 @@ cp -r %{_gitdir}/rpm/scripts/shelfzilla $RPM_BUILD_ROOT%{_init_path}
|
||||||
# post-install section:
|
# post-install section:
|
||||||
# -------------------------------------------------------------------------------------------- #
|
# -------------------------------------------------------------------------------------------- #
|
||||||
%post
|
%post
|
||||||
|
## Modify Init Script
|
||||||
|
chmod 775 %{_init_path}/shelfzilla
|
||||||
|
chkconfig --add shelfzilla
|
||||||
|
chkconfig shelfzilla on
|
||||||
|
|
||||||
## Npm install
|
## Npm install
|
||||||
cd %{_app_dir} && npm install --production
|
cd %{_app_dir} && npm install --production
|
||||||
|
|
||||||
|
|
Reference in New Issue