danofthewired / puppet-bitbucket

Atlassian Bitbucket Puppet Module
MIT License
3 stars 45 forks source link

setenv.sh is not called until after start-search.sh on systemd system #36

Closed sfhardman closed 7 years ago

sfhardman commented 7 years ago

setenv.sh is not called until after start-search.sh on systemd systems, so BITBUCKET_HOME needs to be set in the .service file otherwise Elasticsearch cannot start.

sfhardman commented 7 years ago

Check fails appear to be due to changes in the Rubocop defaults. https://github.com/bbatsov/rubocop/pull/4144 https://github.com/bbatsov/rubocop/pull/4231 Should I change the .rubocop.yml?