~ubuntu-branches/ubuntu/karmic/gkrellm/karmic

« back to all changes in this revision

Viewing changes to debian/patches/01_gkrellmd.conf.dpatch

  • Committer: Bazaar Package Importer
  • Author(s): Pedro Fragoso
  • Date: 2007-12-16 21:43:47 UTC
  • Revision ID: james.westby@ubuntu.com-20071216214347-vnwz9px06nwtvyqg
Tags: 2.3.1-1ubuntu1
* Merge from Debian unstable, remaining Ubuntu changes: (LP: #176807)
  - debian/gkrellmd.postrm added to remove gkrellmd user on remove/purge
  - Homepage
* Modify Maintainer value to match Debian-Maintainer-Field Spec

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#! /bin/sh /usr/share/dpatch/dpatch-run
2
 
## 01_gkrellmd.conf.dpatch by Pedro Fragoso <emberez@gmail.com>
3
 
##
4
 
## All lines beginning with `## DP:' are a description of the patch.
5
 
## DP: gkrellmd.conf patch
6
 
 
7
 
@DPATCH@
8
 
 
9
 
--- gkrellm-2.3.1/server/gkrellmd.conf  2007-10-20 19:28:50.000000000 +0100
10
 
+++ gkrellm-2.3.1/server/gkrellmd.conf.new      2007-12-07 00:31:13.000000000 +0000
11
 
@@ -22,21 +22,22 @@
12
 
 # List of hosts allowed to connect.  If no hosts are specified in a
13
 
 # gkrellmd.conf file or on the command line, all hosts will be allowed.
14
 
 #
15
 
-#allow-host    localhost
16
 
-#allow-host    127.0.0.1
17
 
+allow-host     localhost
18
 
+allow-host     127.0.0.1
19
 
+allow-host  ::ffff:127.0.0.1
20
 
 #allow-host    ::1
21
 
 #allow-host    192.168.0.*
22
 
 
23
 
 # Drop privileges after startup (you must start gkrellmd as root to do it).
24
 
 #
25
 
-#user  nobody
26
 
-#group proc
27
 
+user   nobody
28
 
+group  proc
29
 
 
30
 
 # Create a PID file for the running gkrellmd.  Default is no PID file.
31
 
 #pidfile /var/run/gkrellmd.pid
32
 
 
33
 
 # Run in background and detach from the controlling terminal
34
 
-#detach
35
 
+detach
36
 
 
37
 
 # Time interval between checks for various monitors.  If nfs-interval
38
 
 # is <= 0 then gkrellmd will not read data for nfs file system types.