aboutsummaryrefslogtreecommitdiff
path: root/scripts/install
diff options
context:
space:
mode:
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 "/"