Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
rajudev
diaspora-installer
Commits
66bdaf7c
Commit
66bdaf7c
authored
Apr 23, 2017
by
Praveen Arimbrathodiyil
Browse files
create /run/diaspora for non systemd systems
parent
a70eb7df
Changes
1
Hide whitespace changes
Inline
Side-by-side
debian/diaspora-common.postinst
View file @
66bdaf7c
...
...
@@ -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'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment