1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-27 10:50:10 +03:00

Bug #1278: fix the syntax for directory setup For systemd the syntax for directory and file creation that may be on tmpfs is directive based and not a shell script.

This commit is contained in:
Robert Schweikert 2012-05-15 18:01:20 -04:00 committed by Jaime Melis
parent eadb36122b
commit 9fc914f458

View File

@ -1,11 +1,2 @@
RUNDIR=/var/run/one
if ! [ -d $RUNDIR ]; then
mkdir -p -m 770 $RUNDIR
chown oneadmin:cloud $RUNDIR
fi
LOCKDIR=/var/lock/one
if ! [ -d $LOCKDIR ]; then
mkdir -p -m 770 $LOCKDIR
chown oneadmin:cloud $LOCKDIR
fi
d /var/lock/one 0755 oneadmin cloud
d /var/run/one 0755 oneadmin cloud