diff options
| author | magikcypress <cyp@rouquin.me> | 2017-04-09 16:56:56 +0200 |
|---|---|---|
| committer | magikcypress <cyp@rouquin.me> | 2017-04-09 16:56:56 +0200 |
| commit | c107ef6b2e2d4cdc4101f3cd24ee7bd29fa41b76 (patch) | |
| tree | dc6c352b3c0a6420a38e116909dc0e45502163aa /scripts/install | |
| parent | 56c48a47324ffb851fb73654c0fc52049fae5b31 (diff) | |
| download | mastodon_ynh-c107ef6b2e2d4cdc4101f3cd24ee7bd29fa41b76.tar.gz mastodon_ynh-c107ef6b2e2d4cdc4101f3cd24ee7bd29fa41b76.tar.bz2 mastodon_ynh-c107ef6b2e2d4cdc4101f3cd24ee7bd29fa41b76.zip | |
[fix] bug install file
Diffstat (limited to 'scripts/install')
| -rw-r--r-- | scripts/install | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/install b/scripts/install index e73ad27..29167bc 100644 --- a/scripts/install +++ b/scripts/install @@ -135,9 +135,9 @@ pushd /var/cache/yunohost/from_file/scripts sudo cp ../conf/mastodon-web.service /etc/systemd/system/mastodon-web.service sudo chown root: /etc/systemd/system/mastodon-web.service -sudo cp ../conf/mastodon-web.service /etc/systemd/system/mastodon-sidekiq.service +sudo cp ../conf/mastodon-sidekiq.service /etc/systemd/system/mastodon-sidekiq.service sudo chown root: /etc/systemd/system/mastodon-sidekiq.service -sudo cp ../conf/mastodon-web.service /etc/systemd/system/mastodon-streaming.service +sudo cp ../conf/mastodon-streaming.service /etc/systemd/system/mastodon-streaming.service sudo chown root: /etc/systemd/system/mastodon-streaming.service sudo systemctl enable /etc/systemd/system/mastodon-*.service @@ -154,6 +154,7 @@ sudo yunohost service add mastodon-streaming # Copy nginx config sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/$app.conf sudo sed -i "s@__PATH__@$path@g" /etc/nginx/conf.d/$domain.d/$app.conf +sudo sed -i "s@__FINALPATH__@$final_path@g" /etc/nginx/conf.d/$domain.d/$app.conf # Install crontab sudo cp ../conf/crontab_mastodon /etc/cron.d/$app |
