How do I see the pre/post install scripts inside an RPM?
|
1 |
rpm -qp --scripts filename.rpm |
How do I see the pre/post install scripts inside an RPM?
|
1 |
rpm -qp --scripts filename.rpm |
Running openvpn under daemontools
| Sunday, 21 March 2010 21:03 | ||
|
There are no translations available.
Prerequisite: Debian 5.0, openvpn mkdir -p /var/service/
chmod 755 run ln -s /var/service/openvpn /service/openvpn |
||
Running backuppc under daemontools
| Sunday, 21 March 2010 21:08 | ||
|
There are no translations available.
Prerequisite: Debian 5.0, backuppc mkdir -p /var/service/
chmod 755 run ln -s /var/service/backuppc /service/backuppc |
||
dnscache ang logwatch
This page is written to explain how to integrate logwatch and dnscache, a component of djbdns.
First, download the logwatch script to your server:
cd /usr/share/logwatch/scripts/services/
wget http://www.cypress-systems.net/scripts/dnscache
chmod 755 dnscache
Second, edit the script to tell logwatch where the logfile is looking for
vim /usr/share/logwatch/default.conf/services/dnscache.conf
| Title = “dnscache” LogFile = dnscache # vi: shiftwidth=3 tabstop=3 et |
Third, tell logwatch where the logs are exactly stored
vim /usr/share/logwatch/default.conf/logfiles/dnscache.conf
| LogFile = /service/dnscache/log/main/@*.s LogFile = /service/dnscache/log/main/current # Keep only the lines in the proper date range… *applytaidate # vi: shiftwidth=3 tabstop=3 et |
Four, run a test to see if there is any output
logwatch –service dnscache –range today –detail 10 –output stdout
Running hylafax under daemontools
| Sunday, 04 April 2010 01:02 | ||||
|
There are no translations available.
Prerequisite: Debian 5.0, Hylafax 4.4.4 Activating faxq through daemontools mkdir -p /var/service/
chmod 755 run
Activating hfaxd through daemontools mkdir -p /var/service/
chmod 755 run
Activating faxgetty through daemontools mkdir -p /var/service/
chmod 755 run Note Remember to turn off the hylafax in xinetd sysv-rc-conf |
||||