Hello!
I have a sysvinit script which reads something like this (boring bits
such as error checking and log messages omitted):
#! /bin/sh
### BEGIN INIT INFO
# Provides: mountencfs
# Required-Start:mountall
# Required-Stop:
# Default-Start: S
# Default-Stop:
# X-Interactive:
On Lu, 02 iul 12, 19:14:45, Tony van der Hoff wrote:
Neither of those variables is set here, so ~/.config/autostart looks
promising. Sadly, putting the link to my script in there doesn't cause
it to be run on login.
~/.config/autostart is for .desktop files. You can use one to call your
On Mon, Jul 02, 2012 at 04:38:50AM BST, Andrei POPESCU wrote:
On Du, 01 iul 12, 18:31:24, rjc wrote:
Desktop Environments or Window Managers do not run $SHELL startup
files, nor should they.
No, but some display managers do :)
At least gdm (and gdm3 IIRC) and kdm do this, which should
Thanks, rjc, for a very informative post. Unfortunately, my setup (Stock
Debian 6.0.5) doesn't seem to agree with your description.
On 01/07/12 19:31, rjc wrote:
The reason I asked here is because I previously tried doing exactly what
you suggest by putting a link in ~/.kde/Autostart to the
On Mon, Jul 02, 2012 at 06:14:45PM BST, Tony van der Hoff wrote:
As mentioned, I have a link to that script in ~/kde/autostart.
Unfortunately it doesn't autostart.
And it won't.
Why not? You chastise me for giving insufficient information, but you're
equally terse ;)
Sorry, didn't
On 02/07/12 20:39, rjc wrote:
Try here:
http://docs.kde.org/stable/en/kde-workspace/kcontrol/autostart/index.html
Ah, thanks.
--
Tony van der Hoff | mailto:t...@vanderhoff.org
Ariège, France |
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of
Hi,
I have a script (non gui) which I want to run each time I log in. Which
is the correct way to do this?
--
Tony van der Hoff | mailto:t...@vanderhoff.org
Ariège, France |
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact
Put it in your $HOME, create the script with the first line:
#! /bin/bash
# This is your script called myScript
echo my script is running! # you may not need this line!
then put this line in your ~/.profile file:
# include .bashrc if it exists
if [ -f $HOME/.myScript ]; then
.
Hello Tony,
Tony van der Hoff t...@vanderhoff.org wrote:
Hi,
I have a script (non gui) which I want to run each time I log in. Which
is the correct way to do this?
Log in on a TTY/console or into a desktop environment? KDE, Xfce and
GNOME all have autostart settings, other non-DE graphical
On 01/07/12 13:01, Claudius Hubig wrote:
Hello Tony,
Tony van der Hoff t...@vanderhoff.org wrote:
Hi,
I have a script (non gui) which I want to run each time I log in. Which
is the correct way to do this?
Log in on a TTY/console or into a desktop environment? KDE, Xfce and
GNOME all
Hello Tony,
Tony van der Hoff t...@vanderhoff.org wrote:
On 01/07/12 13:01, Claudius Hubig wrote:
Thanks, Claudius. This is primarily for KDE, but I would expect it to
work for a console login as well. Does KDE try to run ~/.bashrc or
~/.profile?
I doubt that it runs .bashrc, but it may well
On Sun, Jul 01, 2012 at 02:05:47PM BST, Tony van der Hoff wrote:
Thanks, Claudius. This is primarily for KDE, but I would expect it to
work for a console login as well. Does KDE try to run ~/.bashrc or
~/.profile?
No it doesn't.
Desktop Environments or Window Managers do not run $SHELL
On Du, 01 iul 12, 18:31:24, rjc wrote:
Desktop Environments or Window Managers do not run $SHELL startup
files, nor should they.
No, but some display managers do :)
At least gdm (and gdm3 IIRC) and kdm do this, which should cover most
users.
Kind regards,
Andrei
--
Offtopic discussions
I'm running Xfce under wheezy on a desktop system. I have two monitors
permanently attached to the computer; that is, I never need to do any
configuration on the fly.
To set up dual-head, I run the simple command
xrandr --output HDMI2 --right-of HDMI1
I'd like to run this automatically at
On Fri 19 Aug 2011 at 06:39:05 -0400, Jesse Sheidlower wrote:
I'm running Xfce under wheezy on a desktop system. I have two monitors
permanently attached to the computer; that is, I never need to do any
configuration on the fly.
To set up dual-head, I run the simple command
xrandr
Hi, i did it a small shell script to start one service at boot:
#!/bin/bash
case $1 in
start)
echo Starting Redmine
/etc/init.d/postgresql-8.3 start
ruby
Put your script on the /etc/init.d directory, so, run the update-rc.d
with the name of your script, this command will put the script at the
startup of the system.
Hugs,
Allan Carvalho
2010/4/12 Leonardo Carneiro - Veltrac lscarne...@veltrac.com.br:
Hi, i did it a small shell script to start one
Hi Allan and everyone. Tks for your tips, but i have already done that.
The problem happens when i have the need to manually run the script,
like /etc/init.d/redmine start.
Allan Carvalho wrote:
Put your script on the /etc/init.d directory, so, run the update-rc.d
with the name of your
Hum, You tried start the script with nohup?
Hugs,
Allan Carvalho
2010/4/12 Leonardo Carneiro - Veltrac lscarne...@veltrac.com.br:
Hi Allan and everyone. Tks for your tips, but i have already done that. The
problem happens when i have the need to manually run the script, like
Do you realize you are posting to a portuguese writing list?
debian-u...@lists.debian.org speaks in engllish...
[...]
Cheers/saludos/amplex,
--
...agora, só nos sobrou o futuro..., visto em www.manuchao.net
Gunther Furtado
Curitiba - Paraná - Brasil
gunfurt...@gmail.com
--
To
2010/4/12 Leonardo Carneiro - Veltrac lscarne...@veltrac.com.br:
Hi Allan and everyone. Tks for your tips, but i have already done that. The
problem happens when i have the need to manually run the script, like
/etc/init.d/redmine start.
Você iniciou o script como qual usuário?
[...]
Aproveitando o assunto ,
Como eu coloco um arquivo pra iniciar depois do (dhcp) e antes do (gdm/login
modo texto) .
Coloquei no init.d e ele carrega antes das configurações do network
Abraços
--
Frederico Martins P Junior
fredim.wordpress.com
Em 12 de abril de 2010 11:01, Frederico Martins fred...@gmail.com escreveu:
Aproveitando o assunto ,
Como eu coloco um arquivo pra iniciar depois do (dhcp) e antes do (gdm/login
modo texto) .
Dê uma olhada no cabeçalho de algum dos outros scripts e veja como as
dependências são estabelecidas.
auehauheuhaeuhaeuh
Putz, que mancada minha. É que eu frequento bastante listas em inglês, e
estava trocando emails na lista do backports hj, que é em inglês.
Desculpem a minha falha. O 'nohup' resolveu meu problema.
Abraços.
Gunther Furtado wrote:
Do you realize you are posting to a
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello,
I have a script that launches a program. If I launch this program
manually, it keeps on running in the shell. It is a webserver, so I
need it running all the time. However, if I exit the shell, it kills
the webserver.
I tried putting links
On Sunday 14 September 2008 08:35:13 rex wrote:
Hello,
I have a script that launches a program. If I launch this program
manually, it keeps on running in the shell. It is a webserver, so I
need it running all the time. However, if I exit the shell, it kills
the webserver.
I tried
El dom, 14-09-2008 a las 08:46 +0200, Clifford W. Hansen escribió:
On Sunday 14 September 2008 08:35:13 rex wrote:
Hello,
I have a script that launches a program. If I launch this program
manually, it keeps on running in the shell. It is a webserver, so I
need it running all the time.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Thank you! It worked!
So, what does that mean?
- - Rex
Clifford W. Hansen wrote:
On Sunday 14 September 2008 08:35:13 rex wrote:
Hello,
I have a script that launches a program. If I launch this program
manually, it keeps on running in the
On Sun, Sep 14, 2008 at 04:05:41AM -0300, Gabriel Parrondo wrote:
Also, this thread deserves a loud WTF. I mean, the OP seems to know the
basics about unix administration (he was able to write a shell script,
at least) but fails at something as basic as running an app in
background.
There's
On Sunday 14 September 2008 09:12:35 rex wrote:
Thank you! It worked!
So, what does that mean?
- Rex
Clifford W. Hansen wrote:
On Sunday 14 September 2008 08:35:13 rex wrote:
Hello,
I have a script that launches a program. If I launch this program
manually, it keeps on running
Martin wrote:
On Sat, Aug 30, 2008 at 5:56 AM, Kent West [EMAIL PROTECTED] wrote:
case $1 in
start)
echo -n Starting $DESC:
start-stop-daemon -c $USER --start --quiet --pidfile $PIDFILE --exec
$DAEMON -- $OPT \
/dev/null
hmm looks to my that either you
Hi,
On Sat, Aug 30, 2008 at 5:56 AM, Kent West [EMAIL PROTECTED] wrote:
I'm trying to run Maple12 from my Debian box. I've hacked a startup script
together that looks like this:
case $1 in
start)
echo -n Starting $DESC:
start-stop-daemon -c $USER --start --quiet --pidfile
I'm trying to run Maple12 from my Debian box. I've hacked a startup
script together that looks like this:
Beginning of Script
==
#! /bin/sh
# Maple 12
# I hacked this script from a copy of the lisa start-up script; no
guarantees that it works properly.
# Kent West, 14 June 2007
apache and discover use /bin/sed, not /usr/bin/awk. apache2, alsa, and
hylafax use awk, though...
--
Glenn English
[EMAIL PROTECTED]
GPG ID: D0D7FF20
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
If I start irexec from console, not at sstartup, then it works. As you said I should check if the irexec starts before lircd.On 9/21/05, Simo Kauppi
[EMAIL PROTECTED] wrote:On Wed, Sep 21, 2005 at 10:58:47AM +0300, Andras Lorincz wrote:
Yes, something like that. On 9/20/05, Simo Kauppi [EMAIL
Yes, something like that.On 9/20/05, Simo Kauppi [EMAIL PROTECTED] wrote:
On Mon, Sep 19, 2005 at 01:42:53PM +0300, Andras Lorincz wrote: Hi, The lirc daemon starts at startup and I want to launch the command irexec --daemon too. To achieve this I made a script in /etc/init.d which contains
this:
On Wed, Sep 21, 2005 at 10:58:47AM +0300, Andras Lorincz wrote:
Yes, something like that.
On 9/20/05, Simo Kauppi [EMAIL PROTECTED] wrote:
On Mon, Sep 19, 2005 at 01:42:53PM +0300, Andras Lorincz wrote:
Hi,
The lirc daemon starts at startup and I want to launch the command
On Mon, Sep 19, 2005 at 01:42:53PM +0300, Andras Lorincz wrote:
Hi,
The lirc daemon starts at startup and I want to launch the command irexec
--daemon too. To achieve this I made a script in /etc/init.d which contains
this:
#!/bin/bash
su lorand -c irexec --daemon
then I ran the
Hi,
The lirc daemon starts at startup and I want to launch the command
irexec --daemon too. To achieve this I made a script in /etc/init.d
which contains this:
#!/bin/bash
su lorand -c irexec --daemon
then I ran the command update-rc.d irexec_stup defaults (lorand is
the username). After
I have the following in .xsession after going thro' the list help.
[EMAIL PROTECTED]:~$ cat .xsession
#!/bin/bash --login
exec startkde
I have the following in /etc/profile
if [ `id -u` -eq 0 ]; then
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:~/bin
else
Hi,
If anybody has a start up script for nut 2.0, could you then send it
to me? I compiled it from source.
Thanks in advance,
Rudy Gevaert
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
On Fri, Mar 26, 2004 at 04:37:18PM +0100, Rudy Gevaert wrote:
Hi,
If anybody has a start up script for nut 2.0, could you then send it
to me? I compiled it from source.
I don't have one, but I think there is a debian package of (possibly
earlier version) of it. Why not download the
I've setup SpamAssassin via CPAN but it comes with no init.d startup script.
Could someone send me its debian startup script for spamassassin ?
Download the .deb, and extract it yourself.
.deb files can be unpacked with 'ar x debfile' and then do
'tar xzvf data*'.
Alexis
http://dione.no
On Sun, 2004-03-07 at 16:36, Thomas Carrié wrote:
Hi,
I've setup SpamAssassin via CPAN but it comes with no init.d startup script.
Could someone send me its debian startup script for spamassassin ?
Thanks
You could always download the .deb and extract the script.
$ apt-get --download
Hi,
I've setup SpamAssassin via CPAN but it comes with no init.d startup script.
Could someone send me its debian startup script for spamassassin ?
Thanks
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
SpamAssassin via CPAN but it comes with no init.d startup
script.
Could someone send me its debian startup script for spamassassin ?
Thanks
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact
[EMAIL PROTECTED]
--
--Luke CS Sysadmin, Montana State
Marc Hultquist wrote:
Ok well using apt-get through the proxy here at work, finally started
working, basically I had to import a global variable I.E export
http_proxy=blabla/
Now what I wanted to ask, is how do I create a startup script in
Debian, so that whenever the machine is re-started
Marc Hultquist [EMAIL PROTECTED] writes:
Ok well using apt-get through the proxy here at work, finally
started working, basically I had to import a global variable
I.E export http_proxy=blabla/
Now what I wanted to ask, is how do I create a startup script in
Debian, so that whenever
a startup script in
Debian, so that whenever the machine is re-started, rebooted or
anything like that, that when it boots again that it will get the
http_proxy for its global variable ? I.E where do I put the script
and how do I make it so that the script is run everytime the machine
On Wed, 07 Jan 2004 08:09:49 +0200, Marc Hultquist wrote:
Just wanted to ask
Ok well using apt-get through the proxy here at work, finally started
working, basically I had to import a global variable I.E export
http_proxy=blabla/
Now what I wanted to ask, is how do I create a startup
Just wanted to ask
Ok well using apt-get through the proxy here at
work, finally started working, basically I had to import a global
variable
I.E export http_proxy="blabla/"
Now what I wanted to ask, is how do I create a
startup script in Debian, so that whenever the machine is
Hi, I felt the need to remove the apache installation I had on one
of my Debian boxes to reinstall it as some things weren't making
sense or as I would expect so I decided to start from scratch (with the
default httpd.conf, etc.).
At some point I deleted the /etc/init.d/apache wanting to refresh
peanut butter [EMAIL PROTECTED] writes:
At some point I deleted the /etc/init.d/apache wanting to refresh
this as well. Now I can't get it back. Upon several attempts to
re-install apache and apache-common, I get the error:
Setting up apache (1.3.9-13.2) ...
update-rc.d:
Hi, good suggestion but already attempted this. This does provide dpkg with
what it wants to continue with the apache install and go through the
usual configuration of the same yet, when all is configured and done,
the apache startup script is still 0 bytes, ie. I still don't get
the startup
PROTECTED]
To: Debian Users debian-user@lists.debian.org
Subject: apache startup script
Hi, I felt the need to remove the apache installation I had on one
of my Debian boxes to reinstall it as some things weren't making
sense or as I would expect so I decided to start from scratch
peanut butter [EMAIL PROTECTED] writes:
[...] when all is configured and done, the apache startup script is
still 0 bytes, ie. I still don't get the startup script back. Any
other ideas?
Have you *re*-installed it?
Now, having this dummy script, the package can be purged
cleanly... that's
of you.
Paul
-In response to your message-
--received from Moritz Schulte--
peanut butter [EMAIL PROTECTED] writes:
[...] when all is configured and done, the apache startup script is
still 0 bytes, ie. I still don't get the startup script back. Any
other ideas?
Have you *re*-installed
Could some kind soul help out with this? I built postgres from source
instead of using the .deb, and all works fine except for having it start
on bootup. I'm stuck on trying to get the startup script to run as user
'postgres' instead of as root. I tried to have it issue the command:
su postgres
some kind soul help out with this? I built postgres from source
instead of using the .deb, and all works fine except for having it start
on bootup. I'm stuck on trying to get the startup script to run as user
'postgres' instead of as root. I tried to have it issue the command:
su postgres
to get the startup script to run as user
'postgres' instead of as root. I tried to have it issue the command:
su postgres '/usr/local/pgsql/bin/pg_ctl -w -D/var/lib/postgres/data -o
-i start'
All,
I am sure these are pretty easy questions, but I am running out ideas.
1.
I am trying to install vim on a really bare installation of Debian. I
have internet access that routes and resolves names fine.
When I type apt-get install vim vim-rt or just about any other package
name i see listed
Hi Mark!
On Sun, 27 Aug 2000, Mark Simos wrote:
1.
I am trying to install vim on a really bare installation of Debian. I
have internet access that routes and resolves names fine.
When I type apt-get install vim vim-rt or just about any other package
name i see listed on Debian's site, i
Package: distributed-net-pproxy
Version: 280-2
Severity: normal
startup script seems to be more confued than i am about it. it starts proxy
as user nobody, with running start-stop-daemon. but, nobody hasn't got
access rights to /var/run/* or /var/log/*. does that make sense? once
startet
Can anyone suggest why this script doesn't seem to work on 2.1.90?
It's my /etc/init.d/network. I added the netmask on the route line
for lo because it seemed to help, but I still get some other errors,
and ifconfig seems to hang.
#!/bin/sh
ifconfig lo 127.0.0.1
route add -net 127.0.0.0 netmask
On Wed, 15 Apr 1998, Hamish Moffatt wrote:
Can anyone suggest why this script doesn't seem to work on 2.1.90?
It's my /etc/init.d/network. I added the netmask on the route line
for lo because it seemed to help, but I still get some other errors,
and ifconfig seems to hang.
#!/bin/sh
Hi
The book I have says that the start up shell script (aka autoexec
billspeak) is called .profile or .login in the home directory. When I
look (using ls -a) I don't see anything like this. Any thoughts??
One other thing - how about some suggestions for an outstanding book - I
not very happy
cobal wrote:
Hi
The book I have says that the start up shell script (aka autoexec
billspeak) is called .profile or .login in the home directory. When I
look (using ls -a) I don't see anything like this. Any thoughts??
This depends (to some extent) on which shell you use. I use ksh or sh
In article [EMAIL PROTECTED], [EMAIL PROTECTED] wrote:
Hello;
After messing up my XDM and essentially locking myself
out of my system for a while, I have become interested
in setting up my ethernet card from a startup script.
Does one put the ifconfig and route statements in the usual
rc.inet1
Hello;
After messing up my XDM and essentially locking myself
out of my system for a while, I have become interested
in setting up my ethernet card from a startup script.
Does one put the ifconfig and route statements in the usual
rc.inet1 and reference it somehow from rc6.d, or what?
I
On Fri, 16 Aug 1996 23:31:49 PDT [EMAIL PROTECTED] wrote:
Hello;
After messing up my XDM and essentially locking myself
out of my system for a while, I have become interested
in setting up my ethernet card from a startup script.
Does one put the ifconfig and route statements
70 matches
Mail list logo