Skip to content

Commit

Permalink
Address review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
amanda11 committed Jul 2, 2020
1 parent 6f9b2c8 commit fa22b1f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 172 deletions.
160 changes: 0 additions & 160 deletions rpm/st2chatops.init

This file was deleted.

12 changes: 0 additions & 12 deletions rpm/st2chatops.spec
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,6 @@ Requires: /usr/bin/env
done \
%{nil}

%if 0%{?_unitdir:1}
%define use_systemd 1
%endif


%description
Package providing StackStorm ChatOps functionality: bundled, tested and ready to use Hubot
Expand All @@ -57,11 +53,7 @@ Requires: /usr/bin/env
%install
%debian_dirs
%make_install
%if 0%{?use_systemd}
install -D -p -m0644 %{_builddir}/rpm/st2chatops.service %{buildroot}%{_unitdir}/st2chatops.service
%else
install -D -p -m0755 %{_builddir}/rpm/st2chatops.init %{buildroot}%{_sysconfdir}/rc.d/init.d/st2chatops
%endif

%clean
rm -rf %{buildroot}
Expand All @@ -73,11 +65,7 @@ Requires: /usr/bin/env
/opt/stackstorm/chatops/*
%attr(755, st2, root) %{_localstatedir}/log/st2
%config(noreplace) %{_sysconfdir}/logrotate.d/st2chatops
%if 0%{?use_systemd}
%{_unitdir}/st2chatops.service
%else
%{_sysconfdir}/rc.d/init.d/st2chatops
%endif

%config(noreplace) /opt/stackstorm/chatops/st2chatops.env
%config(noreplace) /opt/stackstorm/chatops/external-scripts.json

0 comments on commit fa22b1f

Please sign in to comment.