encfs systemd startup script - how to ask for a password?

2014-04-23 Thread Julian Gilbey
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:

Re: startup script

2012-07-06 Thread Andrei POPESCU
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

Re: startup script

2012-07-02 Thread rjc
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

Re: startup script

2012-07-02 Thread Tony van der Hoff
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

Re: startup script

2012-07-02 Thread rjc
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

Re: startup script

2012-07-02 Thread Tony van der Hoff
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

startup script

2012-07-01 Thread Tony van der Hoff
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

Re: startup script

2012-07-01 Thread Hormatzhan Yiltiz
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 .

Re: startup script

2012-07-01 Thread Claudius Hubig
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

Re: startup script

2012-07-01 Thread Tony van der Hoff
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

Re: startup script

2012-07-01 Thread Claudius Hubig
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

Re: startup script

2012-07-01 Thread rjc
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

Re: startup script

2012-07-01 Thread Andrei POPESCU
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

Startup script not working

2011-08-19 Thread Jesse Sheidlower
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

Re: Startup script not working

2011-08-19 Thread Brian
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

shell startup script

2010-04-12 Thread Leonardo Carneiro - Veltrac
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

Re: shell startup script

2010-04-12 Thread Allan Carvalho
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

Re: shell startup script

2010-04-12 Thread Leonardo Carneiro - Veltrac
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

Re: shell startup script

2010-04-12 Thread Allan Carvalho
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

Re: shell startup script

2010-04-12 Thread Gunther Furtado
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

Re: shell startup script

2010-04-12 Thread Gunther Furtado
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? [...]

Re: shell startup script

2010-04-12 Thread Frederico Martins
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

Re: shell startup script

2010-04-12 Thread Gunther Furtado
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.

Re: shell startup script

2010-04-12 Thread Leonardo Carneiro - Veltrac
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

init.d startup script does not exit

2008-09-14 Thread rex
-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

Re: init.d startup script does not exit

2008-09-14 Thread Clifford W. Hansen
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

Re: init.d startup script does not exit

2008-09-14 Thread Gabriel Parrondo
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.

Re: init.d startup script does not exit

2008-09-14 Thread rex
-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

Re: init.d startup script does not exit

2008-09-14 Thread Tzafrir Cohen
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

Re: init.d startup script does not exit

2008-09-14 Thread Clifford W. Hansen
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

Re: Can't Detach from a startup script

2008-08-31 Thread Kent West
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

Re: Can't Detach from a startup script

2008-08-30 Thread Martin
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

Can't Detach from a startup script

2008-08-29 Thread Kent West
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

startup script oops

2005-10-12 Thread Glenn English
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]

Re: starting irexec in a startup script

2005-09-22 Thread Andras Lorincz
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

Re: starting irexec in a startup script

2005-09-21 Thread Andras Lorincz
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:

Re: starting irexec in a startup script

2005-09-21 Thread Simo Kauppi
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

Re: starting irexec in a startup script

2005-09-20 Thread Simo Kauppi
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

starting irexec in a startup script

2005-09-19 Thread Andras Lorincz
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

startup script problem

2005-07-15 Thread L.V.Gandhi
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

nut 2.0 startup script needed]

2004-03-26 Thread Rudy Gevaert
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]

Re: nut 2.0 startup script needed]

2004-03-26 Thread CW Harris
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

Re: Need spamassassin startup script

2004-03-08 Thread Alexis Huxley
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

Re: Need spamassassin startup script

2004-03-08 Thread David Clymer
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

Need spamassassin startup script

2004-03-07 Thread Thomas Carrié
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]

Re: Need spamassassin startup script

2004-03-07 Thread Lucas Albers
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

Re: Startup script ?

2004-01-07 Thread Kent West
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

Re: Startup script ?

2004-01-07 Thread Lucas Bergman
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

Re: Startup script ?

2004-01-07 Thread Miquel van Smoorenburg
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

Re: Startup script ?

2004-01-07 Thread Paul Morgan
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

Startup script ?

2004-01-06 Thread Marc Hultquist
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

apache startup script

2001-04-20 Thread peanut butter
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

Re: apache startup script

2001-04-20 Thread Moritz Schulte
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:

Re: apache startup script

2001-04-20 Thread peanut butter
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

Re: apache startup script

2001-04-20 Thread Ernest Johanson
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

Re: apache startup script

2001-04-20 Thread 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 it? Now, having this dummy script, the package can be purged cleanly... that's

Re: apache startup script

2001-04-20 Thread peanut butter
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

postgresql startup script

2001-02-25 Thread Andrew Perrin
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

Re: postgresql startup script

2001-02-25 Thread Aaron Brashears
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

Re: postgresql startup script

2001-02-25 Thread Andrew Perrin
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'

2 questions package installs and TCP/IP startup script

2000-08-27 Thread Mark Simos
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

Re: 2 questions package installs and TCP/IP startup script

2000-08-27 Thread Peter Palfrader
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

problems with distributed-net-pproxy startup script

1999-07-19 Thread Gerhard Kroder
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

network startup script

1998-04-15 Thread Hamish Moffatt
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

Re: network startup script

1998-04-15 Thread Scott Ellis
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

Question about startup script

1997-03-01 Thread cobal
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

Re: Question about startup script

1997-03-01 Thread Ralph Winslow
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

Re: how to put ifconfig in startup script?

1996-08-18 Thread Miquel van Smoorenburg
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

how to put ifconfig in startup script?

1996-08-17 Thread keng
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

Re: how to put ifconfig in startup script?

1996-08-17 Thread Philippe Troin
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