Sponsored Content
Full Discussion: Run at boot
Top Forums Shell Programming and Scripting Run at boot Post 302491746 by kever on Friday 28th of January 2011 07:48:09 AM
Old 01-28-2011
Hi thanks!! Smilie Subversion does work now, but I can't get Trac to work at startup. I've modified the code and now I have the following:
Code:
#! /bin/sh
### BEGIN INIT INFO
# Provides:          tracd
# Required-Start:    
# Required-Stop:     
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Start the tracd standalone Trac web server.
### END INIT INFO
# (C) 2008 Guy Rutenberg <http://www.guyrutenberg.com>
 
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

But, trac doesn't work. If I call /etc/init.d/trac start then it's started, but it doesn't start at boot. I did chkconfig --add trac. What can I do now?
 

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
Text::Trac(3pm) 					User Contributed Perl Documentation					   Text::Trac(3pm)

NAME
Text::Trac - Perl extension for formatting text with Trac Wiki Style. VERSION
Version 0.12 SYNOPSIS
use Text::Trac; my $parser = Text::Trac->new( trac_url => 'http://trac.mizzy.org/public/', disable_links => [ qw( changeset ticket ) ], ); $parser->parse($text); print $parser->html; DESCRIPTION
Text::Trac parses text with Trac WikiFormatting and convert it to html format. METHODS
new Constructs Text::Trac object. Available arguments are: trac_url Base URL for TracLinks.Default is /. You can specify each type of URL individually. Available URLs are: trac_attachment_url trac_changeset_url trac_log_url trac_milestone_url trac_report_url trac_source_url trac_ticket_url trac_wiki_url disable_links Specify TracLink types you want to disable. All types are enabled if you don't specify this option. my $parser = Text::Trac->new( disable_links => [ qw( changeset ticket ) ], ); enable_links Specify TracLink types you want to enable.Other types are disabled. You cannot use both disable_links and enable_links at once. my $parser = Text::Trac->new( enable_links => [ qw( changeset ticket ) ], ); parse Parses text and converts it to html format. process An alias of parse method. html Return converted html string. SEE ALSO
Text::Hatena Trac <http://www.edgewall.com/trac/> Trac WikiFormatting <http://projects.edgewall.com/trac/wiki/WikiFormatting> AUTHORS
Gosuke Miyashita, "<gosukenator at gmail.com>" Hideaki Tanaka, "<drawn.boy at gmail.com)>" BUGS
Please report any bugs or feature requests to "bug-text-trac at rt.cpan.org", or through the web interface at <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Text-Trac>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes. SUPPORT
You can find documentation for this module with the perldoc command. perldoc Text::Trac You can also look for information at: o AnnoCPAN: Annotated CPAN documentation <http://annocpan.org/dist/Text-Trac> o CPAN Ratings <http://cpanratings.perl.org/d/Text-Trac> o RT: CPAN's request tracker <http://rt.cpan.org/NoAuth/Bugs.html?Dist=Text-Trac> o Search CPAN <http://search.cpan.org/dist/Text-Trac> COPYRIGHT &; LICENSE Copyright 2006 Gosuke Miyashita, all rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.10.0 2009-03-08 Text::Trac(3pm)
All times are GMT -4. The time now is 10:25 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy