[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [ezjail] questions about ezjail flavour
Thanks, I have altered my script.
From: Philip Jocks [mailto:pjlists AT netzkommune DOT de]
Sent: Monday, September 02, 2013 2:20 AM
To: ezjail AT erdgeist DOT org
Subject: Re: [ezjail] questions about ezjail flavour
Am 02.09.2013 um 03:50 schrieb John Ratliff <John.Ratliff AT smithville DOT net>:
> However, it appears that this ezjail.flavour file is being run every time the jail is started. I do not wish to reconfigure my jail every time it starts, so I assume I am doing something wrong.
> Should I rename the ezjail.flavour.example in the flavours/name/etc/rc.d directory to be ezjail.flavour? How should this file be named?
I think, it doesn't really matter.
> If it should be renamed as ezjail.flavour (as I currently believe),
> does that mean I need to modify the line that removes the file? Should I change rm -f "/etc/rc.d/ezjail.flavour.example" to "rm -f /etc/rc.d/ezjail.flavour"?
yes, the file that is run should delete itself, so to accomplish this, the "rm -f"-line should point to itself.