Skip to content

Commit bee7fa2

Browse files
Add an RPM helper package to automatically start the agent service. (#101)
1 parent 3137f63 commit bee7fa2

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Build with "rpmbuild -bb stackdriver-agent-start-service.spec".
2+
Summary: Service auto-start helper for the Stackdriver system metrics collection daemon
3+
Name: stackdriver-agent-start-service
4+
Version: 0.0.1
5+
Release: 1%{?dist}
6+
BuildArch: noarch
7+
License: ASL 2.0
8+
Group: System Environment/Daemons
9+
URL: https://cloud.google.com/monitoring/agent
10+
Requires: stackdriver-agent
11+
12+
%description
13+
This auxiliary helper automatically starts the Stackdriver system metrics daemon when installed.
14+
15+
%files
16+
17+
%clean
18+
exit 0
19+
20+
%post
21+
/sbin/service stackdriver-agent start
22+
23+
%changelog
24+
* Thu Jun 11 2020 Stackdriver Agents <[email protected]> 0.0.1-1
25+
- Initial release.

0 commit comments

Comments
 (0)