aboutsummaryrefslogtreecommitdiff
path: root/scripts/install
diff options
context:
space:
mode:
authornemsia <nemsia@nemsia.org>2017-05-07 23:21:52 +0200
committerGitHub <noreply@github.com>2017-05-07 23:21:52 +0200
commit8584df0b547189dd86d34e4b0bbf342814524352 (patch)
tree7886531a5f036eceb5fdc847078fd296a4f35e67 /scripts/install
parenta4a3f5cce430684b26e81613dffc3b88a1c12a95 (diff)
parentf12507fbf0e8fd46346d8c25d64796df58acf37b (diff)
downloadmastodon_ynh-8584df0b547189dd86d34e4b0bbf342814524352.tar.gz
mastodon_ynh-8584df0b547189dd86d34e4b0bbf342814524352.tar.bz2
mastodon_ynh-8584df0b547189dd86d34e4b0bbf342814524352.zip
Merge branch 'master' into master
Diffstat (limited to 'scripts/install')
-rw-r--r--scripts/install4
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/install b/scripts/install
index 3357c1d..2fd4b23 100644
--- a/scripts/install
+++ b/scripts/install
@@ -165,7 +165,7 @@ type rbenv
BCOMMANDS
# Add Services
-pushd $(popd)
+popd
sudo cp ../conf/mastodon-web.service /etc/systemd/system/mastodon-web.service
sudo chown root: /etc/systemd/system/mastodon-web.service
@@ -206,8 +206,6 @@ sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/$app.conf
# Install crontab
sudo cp ../conf/crontab_mastodon /etc/cron.d/$app
sudo sed -i "s@__APP__@$app@g" /etc/cron.d/$app
-# Restart crontab
-sudo systemctl restart cron
# Unprotected url
ynh_app_setting_set "$app" unprotected_uris "/"