@@ -6,6 +6,7 @@ StopWhenUnneeded=true | |||
[Service] | |||
User={{ diaspora.user.username }} | |||
Environment=RAILS_ENV={{ diaspora.configuration.server.rails_environment }} | |||
Environment=LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libjemalloc.so.1 | |||
WorkingDirectory={{ diaspora.install_path }} | |||
ExecStart=/bin/bash -lc "bin/bundle exec sidekiq" | |||
Restart=always |
@@ -6,6 +6,7 @@ StopWhenUnneeded=true | |||
[Service] | |||
User={{ diaspora.user.username }} | |||
Environment=RAILS_ENV={{ diaspora.configuration.server.rails_environment }} | |||
Environment=LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libjemalloc.so.1 | |||
WorkingDirectory={{ diaspora.install_path }} | |||
PIDFile={{ diaspora.install_path }}/tmp/pids/web.pid | |||
ExecStart=/bin/bash -lc "bin/bundle exec unicorn -c config/unicorn.rb -E {{ diaspora.configuration.server.rails_environment }}" |
@@ -17,6 +17,7 @@ | |||
'libmagickwand-dev', | |||
'ghostscript', | |||
'nodejs', | |||
'libjemalloc1', | |||
], | |||
'postgresql_package': 'libpq-dev', | |||
'mysql_package' : 'libmariadbclient-dev', | |||
@@ -69,6 +70,7 @@ | |||
'imagemagick', | |||
'libmagickwand-dev', | |||
'nodejs', | |||
'libjemalloc1', | |||
], | |||
'mysql_package' : 'libmysqlclient-dev', | |||
}, |