repo.or.cz
/
aur-mirror.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git]
/
mongodb-git
/
mongodb.install
blob
505e36fb8f4b4ceea3897ae8d6f188da6f9106ea
1
# vim: syntax=sh
2
3
post_install() {
4
useradd -r -g daemon -d /var/state/mongodb -s /bin/bash mongodb
5
chown -R mongodb:daemon /var/state/mongodb
6
}
7
8
post_upgrade() {
9
/bin/true
10
}
11
12
pre_remove() {
13
/etc/rc.d/mongodb stop
14
userdel mongodb
15
}