Don't create /var/log/upstart
This commit is contained in:
parent
b43e219aeb
commit
b3c5d42b1d
@ -116,9 +116,8 @@ in
|
||||
# jobs. Used to determine which jobs need to be restarted
|
||||
# when switching to a new configuration.
|
||||
mkdir -m 0700 -p /var/run/upstart-jobs
|
||||
|
||||
|
||||
mkdir -m 0755 -p /var/log
|
||||
mkdir -m 0755 -p /var/log/upstart
|
||||
|
||||
touch /var/log/wtmp # must exist
|
||||
chmod 644 /var/log/wtmp
|
||||
|
@ -101,7 +101,7 @@ mkdir -m 0700 -p /var/log/journal
|
||||
|
||||
|
||||
# Miscellaneous boot time cleanup.
|
||||
rm -rf /var/run /var/lock /var/log/upstart
|
||||
rm -rf /var/run /var/lock
|
||||
rm -f /etc/resolv.conf
|
||||
|
||||
if test -n "@cleanTmpDir@"; then
|
||||
|
Loading…
Reference in New Issue
Block a user