Commit 861b7100 authored by HQ's avatar HQ
Browse files

Various improvements

parent 273fe8ad
......@@ -65,8 +65,7 @@ unless (-e '/etc/discourse.seeded') {
`systemctl restart apache2`;
`touch /etc/discourse.seeded`;
}
# print `cd /var/discourse ; RAILS_ENV=production bundle exec puma -C config/puma.rb &`;
print `cd /var/discourse ; RAILS_ENV=production bundle exec sidekiq -C config/sidekiq.yml &`;
system("cd /var/discourse ; RAILS_ENV=production bundle exec sidekiq -C config/sidekiq.yml &");
sub get_internalip {
my $internalip;
......
......@@ -341,7 +341,7 @@ if (!$rebuild && -e "$cwd/$dname.master.qcow2") { # Master image already exists,
[Unit]
DefaultDependencies=no
Description=Stabile $dname
After=network-online.target stabile-ubuntu.service
After=network-online.target stabile-ubuntu.target
Wants=network-online.target
[Service]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment