Displaying 5 results from an estimated 5 matches for "current_dir".
Did you mean:
current_dev
2006 Aug 21
3
strange problem with system call
...ll new
typo app.And it works.
def do_work(args)
DIR = "/home/foobar/public_html"
username = args
blog_name = username + "_blog"
# creation part works flawlessly so lets skip that.
# there is a problem while stopping it.
if (Dir.chdir(DIR)) == 0
current_dir = `pwd`
@logger.debug("Current directory is #{current_dir}")
stop_command = "typo stop "+ blog_name
debug_stuff =
`#{stop_command}`
#line no 33
@logger.debug("### #{debug_stuff}")
else
@logger.debug("### Error chan...
2006 Jan 14
2
SwitchTower and SCGI
Hi !
Following the manual, section 2.6 describes how to replace the restart
task. Since I''m using Lighttpd and SCGI, I did the following:
desc "Restart the web server"
task :restart, :roles => :app do
sudo "cd #{deploy_to}/#{current} && scgi_cluster stop <
#{deploy_to}/#{current}/config/.password"
sudo "cd #{deploy_to}/#{current} &&
2018 Apr 07
0
Is it possible to clone an NT ACL from one file or dir to a totally different file or dir ?
...";
RECURSE=0;
fi fi fi
TEMPLATE_OWN=$(stat -c %U $TEMPLATE) # get the template top-level
POSIX owner
TEMPLATE_GROUP=$(stat -c %G $TEMPLATE) # get the template top-level
POSIX group
TEMPLATE_PERMS=$(stat -c %a $TEMPLATE) # get the template top-level
POSIX permissions
current_dir=$(dirname $(readlink -f $0)) # script can run from another
directory
if [ $RECURSE == 1 ]
then
find $TARGET -type $FIND_FLAG -print0 | xargs -0 -n1 -P$CORES
chown $TEMPLATE_OWN;
find $TARGET -type $FIND_FLAG -print0 | xargs -0 -n1 -P$CORES
chgrp $TEMPLATE_GROUP;
...
2018 Apr 06
2
Is it possible to clone an NT ACL from one file or dir to a totally different file or dir ?
On Sat, 2018-03-24 at 20:38 -0400, Ken McDonald via samba wrote:
>
> > By default, step 4 takes forever to run on large datasets because it
> > uses named entities. My ultimate plan was to use the numeric
> > user/group id's in that step instead of named ones so the Winbind cost
> > is not incurred. Seems for the whole process, the calls to Winbind to
> >
2006 Jul 26
0
capistrano CLI automation - using capistrano as a library
...5b058
@task_call_frames=[], @tasks={},
@factory=#<Capistrano::Actor::DefaultConnectionFactory:0x235aff4
@config=#<Capistrano::Configuration:0x235b0a8 ...>>,
@configuration=#<Capistrano::Configuration:0x235b0a8 ...>, @sessions={}>,
@now=Wed Jul 26 21:26:18 UTC 2006, @variables={:current_dir=>"current",
:repository=>nil, :shared_dir=>"shared", :gateway=>nil, :scm=>:subversion,
:ssh_options=>{}, :user=>nil,
:deploy_to=>#<Proc:0x023e2698@/usr/local/lib/ruby/gems/1.8/gems/capistrano-
1.1.0/lib/capistrano/configuration.rb:55>,
:revision=>...