/[BackupPC]/trunk/init.d/src/gentoo-backuppc
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/init.d/src/gentoo-backuppc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 315 by dpavlin, Wed Jun 22 19:12:42 2005 UTC revision 316 by dpavlin, Mon Jan 30 13:37:17 2006 UTC
# Line 4  Line 4 
4  #  #
5  #   Startup init script for BackupPC on Gentoo` linux.  #   Startup init script for BackupPC on Gentoo` linux.
6  #  #
7  # Distributed with BackupPC version 2.1.0, released 20 Jun 2004.  # Distributed with BackupPC version 2.1.2, released 5 Sep 2005.
8  #  #
9  # description: Starts and stops the BackupPC server  # description: Starts and stops the BackupPC server
10  # Copy to /etc/init.d and run 'rc-update add backuppc default'  # Copy to /etc/init.d and run 'rc-update add backuppc default'
# Line 34  stop() { Line 34  stop() {
34  restart() {  restart() {
35          ebegin "Restarting BackupPC"          ebegin "Restarting BackupPC"
36          svc_stop          svc_stop
37            sleep 1
38          svc_start          svc_start
39          eend $? "Failed to restart BackupPC"          eend $? "Failed to restart BackupPC"
40  }  }

Legend:
Removed from v.315  
changed lines
  Added in v.316

  ViewVC Help
Powered by ViewVC 1.1.26