Hi all :)
I'm having some problems getting my sabnzbd script to run on startup.
I'm sure it's some small thing I've forgotten, but for the life of me I can't find out why it's not working :P
Code:
/etc/inid.t
-rwxr-xr-x 1 root root 394 2009-12-04 12:50 sabdaemon
Symbolic links in /etc/init.d/rc5.d
Hi,
I manually installed tomcat5 on my server and want it to start directly after booting.
I wrote a short Init-script for that:
#!/bin/sh
### BEGIN INIT INFO
# Provides: tomcat
# Required-Start: $network $syslog $remote_fs
# Should-Start: $named $syslog $time
# Required-Stop: $network $syslog
Does it autoupdate when you start noip2 manually and leave it running? Run noip2 with -d to see what it's doing; perhaps use -U to modify the update interval (you can modify the service file to use those options).
lucke
https://bbs.archlinux.org/profile.php?id=2529
2013-02-16T11:00:42Z
Code:
#!/bin/bash
some command here like (date)
another command here like (ls -a)
script // to start recording
other commands here or ./anotherscript
and here
and here
exit // to stop recording
another command here
and another one
The first problem is that script(to record file) doesnt start. Anyway, i've found several solutions using read or echo.
When i do: sudo sh /etc/rc.local it works perfect but when i reboot my system, it wont start.
There is my rc.local file:
Code:
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
Hi all, im pretty new to unit/redhat 6.2
I am trying to load a script upon startup of my redhat 6.2
(instance in ec2 AWS if someone cares)
I want everytime when instance starts (after stop/reboot) a script i build to launch.
hi all
i am having problems with my no-ip its active but the ip address is as 0.0.0.0
and i have tried to update it but it does not update this is what i am getting
1 noip2 process active.
Process 1052, started as noip2, (version 2.1.9)
Using configuration from /usr/local/etc/no-ip2.conf
Last IP Address set 0.0.0.0
Account xxxxxxxx@gmail.com
configured for:
host xxxxxx.zapto.org
Updating
I wrote a small init script for proftpd (latest stable version, compiled myself) and am noticing that the executable exits with status 0 even if server fails to start (in my case, for example, due to SSH port conflict).
Shouldn’t it exit with > 0? Or,
How can a script detect whether startup was successful short of sleeping for arbitrary time and checking for PID?
# ./proftpd
# echo $?
I use Fedora 13 and am trying to create a service for darkice.