Accepting request 125083 from home:dmdiss:pcp_commonspec
- Use upstream spec file - Update to pcp-3.6.3. OBS-URL: https://build.opensuse.org/request/show/125083 OBS-URL: https://build.opensuse.org/package/show/Base:System/pcp?expand=0&rev=14
This commit is contained in:
committed by
Git OBS Bridge
parent
4aff77d94f
commit
a7ba9d3f20
32
pcp_legacy_init_lsb.patch
Normal file
32
pcp_legacy_init_lsb.patch
Normal file
@@ -0,0 +1,32 @@
|
||||
Index: src/pmcd/rc_pcp
|
||||
===================================================================
|
||||
--- src/pmcd/rc_pcp.orig
|
||||
+++ src/pmcd/rc_pcp
|
||||
@@ -31,12 +31,12 @@
|
||||
# e.g. SuSE, where chkconfig is a perl script.
|
||||
### BEGIN INIT INFO
|
||||
# Provides: pcp
|
||||
-# Required-Start:
|
||||
-# Should-Start:
|
||||
-# Required-Stop:
|
||||
-# Should-Stop:
|
||||
-# Default-Start:
|
||||
-# Default-Stop:
|
||||
+# Required-Start: $local_fs
|
||||
+# Should-Start: $network $remote_fs $syslog $time
|
||||
+# Required-Stop: $local_fs
|
||||
+# Should-Stop: $network $remote_fs $syslog
|
||||
+# Default-Start: 2 3 4 5
|
||||
+# Default-Stop: 0 1 6
|
||||
# Short-Description: Legacy control for PCP daemons
|
||||
# Description: Legacy init script wrapper for the Performance Co-Pilot (PCP) daemons
|
||||
### END INIT INFO
|
||||
@@ -53,6 +53,8 @@ _usage()
|
||||
echo "Usage: $pmprog [-v] {start|restart|condrestart|stop|status|reload|force-reload}"
|
||||
}
|
||||
|
||||
+echo "The pcp init script is depricated, pmcd and pmlogger should be used instead"
|
||||
+
|
||||
case "$1" in
|
||||
|
||||
'start'|'restart'|'condrestart'|'reload'|'force-reload')
|
Reference in New Issue
Block a user