We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 99f2941 commit 4defc1bCopy full SHA for 4defc1b
packages/st2/rpm/postinst_script.spec
@@ -2,6 +2,3 @@ set -e
2
3
# Reload systemd to run generators for unit and socket files.
4
systemctl daemon-reload
5
-
6
-systemctl restart st2api st2auth st2stream
7
-journalctl -eu st2api
rpmspec/helpers.spec
@@ -85,9 +85,16 @@
85
# Service post stage action
86
# enables used to enforce the policy, which seems to be disabled by default
87
#
88
+## Disabled to run with more verbose output
89
+##%define service_post() \
90
+## %{expand: %systemd_post %%{?*}} \
91
+## systemctl --no-reload enable %{?*} >/dev/null 2>&1 || : \
92
+##%{nil}
93
+
94
%define service_post() \
95
%{expand: %systemd_post %%{?*}} \
- systemctl --no-reload enable %{?*} >/dev/null 2>&1 || : \
96
+ systemctl --no-reload enable %{?*} \
97
+ systemctl status %{?*} \
98
%{nil}
99
100
# Service preun stage action
0 commit comments