You are not logged in.
Pages: 1
I run bacula as my backup software, and would like it to start automatically at boot. They have a method to install the scripts in a system that uses init.d; info from the website is as follows:
"The make install-autostart will cause the appropriate startup scripts to be installed with the necessary symbolic links. On RedHat Linux systems, these scripts reside in /etc/rc.d/init.d/bacula-dir /etc/rc.d/init.d/bacula-fd, and /etc/rc.d/init.d/bacula-sd. However the exact location depends on what operating system you are using."
Everything I've been finding on similar topics talks about init.d. Can someone fill me in on the difference between this system and arch's system?
Offline
Arch use /etc/rc.d for startup scripts/daemons. Copy the scripts in /etc/rc.d and add them to the DAEMONS array in rc.conf
Offline
I don't know much about RH's init.d scripts but I'm not sure if you can just copy them into /etc/rc.d/ and add them to the daemons list. Have you looked in the init.d scripts it provides you timm? If so, you can probably figure out what they are doing and then look at some of arch's rc.d scripts and figure it out. Arch's rc.d scripts are very very straightforward if you look at examples of them.
Offline
Yes you can just copy paste them.
99% of the initscripts out there are just run with 'start' or 'stop' passed as parameters, and all the arch boot does, is run each initscript in the daemons line with start as a parameter. On shutdown, it passes stop.
Just drop em in, sure the formatting may not match, but it should just work
iphitus
Offline
I was working on getting bacula up, and ran across a part of the instructions that say that the auto-start scripts will only be generated if your system is a "supported" one, if the config script returns an unknown system, they won't generate. Arch is "unknown", and I'm not finding where to manually change this in the config files to try to force it.
I love bacula when I get it running, but find installing it to be a major pain.
Offline
If you know what each script does, you can try adding those commands in /etc/rc.local.
I'm not sure about running commands at shutdown, I'm sitting at a windows-only box at the moment.
Ailen:
Kernel: Linux 2.6.14-rc4-ck1 #1 PREEMPT
Built on: Mon Oct 17 14:51:37 CEST 2005
Hardware: Mobile AMD Sempron(tm) Processor 2800+ AuthenticAMD
WM: E17 snapshot 20051016
Offline
i think - if you give use the src URL and any PKGBUILD you are using - we can make a nice Arch pkg of this with a proper daemon to start it all up
Offline
I've never built a package before, but while I was working on the install I thought I'd look at it and see how to do it with this one, but I'm new enough at the whole thing that I couldn't yet figure it out. Keep learning
I'm not sure if this is what you're asking, but bacula is at
http://sourceforge.net/project/showfile … p_id=50727,
there's the main program and the dependency packages and other stuff.
Offline
Pages: 1