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: true

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 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

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 ;) Sorr

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 th

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 s

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 a

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 star

Re: startup script

2012-07-01 Thread Claudius Hubig
Hello Tony, Tony van der Hoff 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 run .profile. I

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 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 aut

Re: startup script

2012-07-01 Thread Claudius Hubig
Hello Tony, Tony van der Hoff 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 interfaces usual

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 . "$

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? Contac

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 > > x

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 bo

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,

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

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

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

Re: init.d startup script does not exit

2008-09-13 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

init.d startup script does not exit

2008-09-13 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: 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 y

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: "

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: == #! /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 200

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-21 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 <[EMA

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 t

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

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" > > th

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

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 p

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: 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 e

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 ' and then do 'tar xzvf data*

Re: Need spamassassin startup script

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

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: Startup script ?

2004-01-07 Thread Paul Morgan
ed to ask, is how do I create 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 s

Re: Startup script ?

2004-01-07 Thread Miquel van Smoorenburg
bla/" >> >> Now what I wanted to ask, is how do I create 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

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

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

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 mac

Re: apache startup script

2001-04-20 Thread peanut butter
anks to both 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 g

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 c

Re: apache startup script

2001-04-20 Thread Ernest Johanson
lt;[EMAIL PROTECTED]> > To: Debian Users > 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 scr

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 st

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: /e

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: postgresql startup script

2001-02-25 Thread Andrew Perrin
ks 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 '/usr/local/pgsql/bin/pg_ctl -w -D/var/lib/postgres/data -o > > "-i" start' > > >

Re: postgresql startup script

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

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 comman

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 si

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 liste

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? o

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 >

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 25

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

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 wi

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 ifc

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 an

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