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

NAME
Net::Trac::Connection - Connection to a remote Trac server DESCRIPTION
This class represents a connection to a remote Trac instance. It is required by all other classes which need to talk to Trac. SYNOPSIS
use Net::Trac::Connection; my $trac = Net::Trac::Connection->new( url => 'http://trac.example.com', user => 'snoopy', password => 'doghouse' ); ACCESSORS
url The url of the Trac instance used by this connection. Read-only after initialization. user password ACCESSORS
/ MUTATORS logged_in [BOOLEAN] Gets/sets a boolean indicating whether or not the connection is logged in yet. mech [MECH] Gets/sets the Net::Trac::Mechanize (or subclassed) object for this connection to use. Unless you want to replace it with one of your own, the default will suffice. METHODS
new PARAMHASH Creates a new Net::Trac::Connection given a paramhash with values for the keys "url", "user", and "password". ensure_logged_in Ensures this connection is logged in. Returns true on success, and undef on failure. Sets the "logged_in" flag. PRIVATE METHODS
_fetch URL Fetches the provided relative URL from the Trac server. Returns undef on an error (after "warn"ing) and the content ("$self-"mech->content>) on success. _warn_on_error URL Checks the last request for an error condition and warns about them if found. Returns with a TRUE value if errors occurred and a FALSE value otherwise for nicer conditionals. _tsv_to_struct PARAMHASH Takes a paramhash of the keys "data" Given TSV data this method will return a reference to an array. LICENSE
Copyright 2008-2009 Best Practical Solutions. This package is licensed under the same terms as Perl 5.8.8. perl v5.12.3 2009-06-10 Net::Trac::Connection(3pm)
All times are GMT -4. The time now is 02:25 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy