Sponsored Content
Full Discussion: Run at boot
Top Forums Shell Programming and Scripting Run at boot Post 302491750 by kever on Friday 28th of January 2011 07:57:42 AM
Old 01-28-2011
This:

trac 0: off 1: off 2: off 3: on 4: off 5: on 6: off

[EDIT]Ahh smileys :P

I editted the script but it still doesn't work Smilie :
Code:
#!/bin/bash
#
#	/etc/rc.d/init.d/trac
#
# Starts the Trac Daemon
#
# description: Trac Daemon

# processname: trac
 
set -e
 
. /lib/lsb/init-functions
 
case "$1" in
  start)
	tracd -p 30 --auth="*",/project/passwd,trac -e /project --daemonize
	;;
  stop)
	killall tracd
	;;
  restart|force-reload)
	killall tracd
	;;
esac
 
exit 0

 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Cannot boot - Boot : Panic : File size out of range (EWS-UX/V unix)

Hey ! I am running EWS-UX/V (Rel 4.2) on NEC EWS/4800/330 station and I am having problems rebooting my station : I am getting the following message on display : BOOT : PANIC : File size out of range. According to user guide, this error is occuring when a file exceeding the limit and/or... (2 Replies)
Discussion started by: fredo
2 Replies

2. Solaris

solaris boot problem boot error loading interpreter(misc/krtld)

When I installed the SOLARIS 10 OS first time, the desktop would not start up, this was because of network setup. Reinstalled worked. After a week due to some problem I had to reinstall OS, installation went fine and but when i reboot I get this error. cannot find mis/krtld boot error loading... (0 Replies)
Discussion started by: johncy_j
0 Replies

3. Debian

Grub2 (dual boot, dmraid) cannot run Debian6

Hello, firstly excuse for my poor english. I have a busybox error when I try to run Debian 6. It's like Grub cannot find root (initramfs) My system is: - RAID0 with dmraid - /boot ext2 (from moonOS installation --ubuntu based--) - ext4 (moonOS wich have the Grub2 installation, where I... (0 Replies)
Discussion started by: neutralTTY
0 Replies

4. Boot Loaders

Reboot and Select Proper Boot device or insert Boot media in select Boot device and press a key

Hello, I have kubuntu on my laptop and now I decided to switch to Windows 7. I made the bios settings properly (first choice is boot from cd\vd) but I see the error " reboot and select proper Boot device or insert Boot media in select Boot device and press a key " I have tried CD and... (0 Replies)
Discussion started by: rpf
0 Replies

5. Solaris

Solaris x86 installation using jumpstart does not local boot ( boot from hdd)

I am trying to install Solaris x86 using the Jumpstart server. I run the add_install_client command with appropriate options, and reboot my x86 Target box. The installation starts fine and unattended. After the installation completes and the target goes for a re-boot, it does not boot from the HDD... (9 Replies)
Discussion started by: hemalsid
9 Replies

6. UNIX for Dummies Questions & Answers

How to run linux in windows 7 without dual boot?

tell me in steps if its virtual box (2 Replies)
Discussion started by: mahor1989
2 Replies

7. UNIX for Advanced & Expert Users

has no rc.local in /etc, how to auto run cmd in the boot process?

Hi I want to run some cmd before the linux boot up and I want to let it run before sshd service start, any helps? (1 Reply)
Discussion started by: yanglei_fage
1 Replies

8. UNIX for Dummies Questions & Answers

Boot vs run

Hello! Please, what ELSE do we BOOT except of operating systems? Can someone list me at least some programs which we boot and are not OSs? Many thanks¨! (1 Reply)
Discussion started by: pinklemon
1 Replies

9. Solaris

Change run level at boot

for solaris 11, how does one change the run level at boot from 3 to 2? i checked "/etc/inittab" file where i usually change it in other *nix but it seems solaris is not using it. (1 Reply)
Discussion started by: badbanana
1 Replies
SVN::Notify::Filter::Trac(3pm)				User Contributed Perl Documentation			    SVN::Notify::Filter::Trac(3pm)

Name
       SVN::Notify::Filter::Trac - Filter SVN::Notify output in Trac format

Synopsis
       Use svnnotify in post-commit:

	 svnnotify --p "$1" --r "$2" --to you@example.com --handler HTML 
	 --filter Trac --trac-url http://trac.example.com

       Use the class in a custom script:

	 use SVN::Notify;

	 my $notifier = SVN::Notify->new(
	     repos_path => $path,
	     revision	=> $rev,
	     to 	=> 'you@example.com',
	     handler	=> 'HTML::ColorDiff',
	     filters	=> [ 'Trac' ],
	     trac_url	=> 'http://trac.example.com/',
	 );
	 $notifier->prepare;
	 $notifier->execute;

Description
       This module filters SVN::Notify log message output from Trac markup into HTML.  Essentially, this means that if you write your commit log
       messages using Trac wiki markup and like to use SVN::Notify::HTML or SVN::Notify::HTML::ColorDiff to format your commit notifications, you
       can use this filter to convert the Trac formatting in the log message to HTML.

       If you specify an extra argument, "trac_url" (or the "--trac-url" parameter to "svnnotify"), it will be used to generate Trac links for
       revision numbers and the like in your log messages.

See Also
       SVN::Notify
       svnnotify

Author
       David E. Wheeler <david@kineticode.com>

Copyright and License
       Copyright (c) 2008 Kineticode, Inc. Some Rights Reserved.

       This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

perl v5.10.1							    2011-03-15					    SVN::Notify::Filter::Trac(3pm)
All times are GMT -4. The time now is 02:51 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy