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:
parent
eadb36122b
commit
9fc914f458
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user