=== modified file 'zsh-functions/confz_vserver_init' --- zsh-functions/confz_vserver_init 2015-04-21 12:32:35 +0000 +++ zsh-functions/confz_vserver_init 2015-04-21 06:17:00 +0000 @@ -22,19 +22,6 @@ } -# create required directories -confz_vserver_run_dirs_check() { - local -a run_dirs - local d - run_dirs=( /var/run/{vservers,vservers.rev,vshelper} - do_command=( mkdir -p $run_dirs ) - - for d in $run_dirs; do - fail_reason="missing directory: ${(q)d}" - [[ -d $d ]] || return $? - done - return 0 -} # configure and deploy vserver confz_vserver_check() { @@ -87,7 +74,6 @@ confz_vserver_started_check() { checkvars name - require vserver_run_dirs do_command=( vserver -- $vars[name] start ) vserver --silent -- $vars[name] running || return $? local context_id