-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstartstop.spec
56 lines (48 loc) · 1.44 KB
/
startstop.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
Summary: Universal LSB-compliant service start/stop
Name: startstop
Version: 0.74
Release: 5
Source: http://www.perdues.com/download/%{name}-%{version}.tar.gz
License: GPL
Group: Development/Tools
URL: http://www.perdues.com/
Vendor: Perdue Software
Packager: Cris Perdue <[email protected]>
BuildRoot: %{_tmppath}/%{name}-root
Provides: startstop
Provides: monitor
%description
The universal LSB (Linux Standard Base) start/stop package streamlines
authoring of application init scripts for daemon-style servers. It
provides a full set of LSB actions (start/stop/status/etc.), and
supports running the server as a non-root user, protection against
SIGHUP, reliable service restart, service monitoring with auto-restart,
logging of events and output. It was built originally for Java
servers, but can be valuable for many other servers as well.
AUTHOR: Crispin Perdue <[email protected]>
%prep
%setup -q
%build
# ./configure
make
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT/usr install
%clean
make clean
%files
%defattr(-,root,root)
/usr/bin/startstop
/usr/bin/monitor
/usr/bin/setuser
/usr/bin/logto
%docdir /usr/share/man
/usr/share/man/man8/startstop.8.gz
/usr/share/man/man8/monitor.8.gz
/usr/share/man/man8/setuser.8.gz
%docdir /usr/share/doc
%defattr(0644,root,root)
/usr/share/doc/packages/startstop/README
/usr/share/doc/packages/startstop/CHANGES
/usr/share/doc/packages/startstop/myservice
/usr/share/doc/packages/startstop/myservice-redhat