Commit 66bdaf7c authored by Praveen Arimbrathodiyil's avatar Praveen Arimbrathodiyil
Browse files

create /run/diaspora for non systemd systems

parent a70eb7df
......@@ -42,6 +42,13 @@ case "$1" in
mkdir -p /var/cache/diaspora
chown ${diaspora_user}: /var/cache/diaspora
# Create temporary directory
mkdir -p /run/diaspora
chown ${diaspora_user}:www-data /run/diaspora
chmod 2750 /run/diaspora
ln -s /var/cache/diaspora /run/diaspora/cache
runuser -u ${diaspora_user} -- sh -c 'mkdir -p /run/diaspora/pids'
# Create writable directories and files
su ${diaspora_user} -s /bin/sh -c 'mkdir -p ~/.bundle ~/public ~/app-assets'
su ${diaspora_user} -s /bin/sh -c 'touch ~/Gemfile.lock'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment