summarylogtreecommitdiffstats
path: root/sentry.install
diff options
context:
space:
mode:
authorBenjamin A. Shelton2016-07-02 14:24:07 -0600
committerBenjamin A. Shelton2016-07-02 14:25:20 -0600
commit6ae2c823a0ced7e878c4f4c434ed1647327cba16 (patch)
tree5daa2ed9c39e6c234dca2de5af8444a71fc0b57b /sentry.install
parent9a751e26d9282243113cb06ce72acf9b5e045e41 (diff)
downloadaur-6ae2c823a0ced7e878c4f4c434ed1647327cba16.tar.gz
Merged changes from @mitchhentges.
Diffstat (limited to 'sentry.install')
-rw-r--r--sentry.install13
1 files changed, 4 insertions, 9 deletions
diff --git a/sentry.install b/sentry.install
index 57335bd57532..0b55e1035a68 100644
--- a/sentry.install
+++ b/sentry.install
@@ -4,14 +4,14 @@ post_install(){
/usr/bin/mkdir -p /opt/sentry/celery
- /usr/bin/chown -R sentry:sentry /opt/sentry
- /usr/bin/chown -R sentry:sentry /etc/sentry
-
# Generate a new configuration.
if [ ! -e "/etc/sentry/sentry.conf.py" ] || [ ! -e "/etc/sentry/config.yml" ] ; then
"/opt/sentry/bin/sentry" init "/etc/sentry"
fi
+ /usr/bin/chown -R sentry:sentry /opt/sentry
+ /usr/bin/chown -R sentry:sentry /etc/sentry
+
/usr/bin/chmod 0600 /etc/sentry/sentry.conf.py
/usr/bin/chmod 0600 /etc/sentry/config.yml
@@ -19,12 +19,7 @@ cat << EOF
INSTALLATION STEPS
-1) Initialize Sentry's configuration:
-
- sudo -u sentry /opt/sentry/bin/sentry init /etc/sentry
-
-Be sure to edit the configurations in /etc/sentry before proceeding to the next
-step.
+1) Edit the configurations in /etc/sentry before proceeding to the next step.
2) Run migrations: