Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure reasonable defaults for config files for instance system service #794

Open
pun-ky opened this issue Nov 13, 2020 · 0 comments
Open

Comments

@pun-ky
Copy link
Contributor

pun-ky commented Nov 13, 2020

https://github.com/Cognifide/gradle-aem-plugin/blob/master/src/asset/localInstance/defaults/service/systemd.conf

by default is oneshot, but forking seems to be better, however there are more constraints like https://askubuntu.com/questions/1044464/new-main-pid-does-not-belong-to-service-and-pid-file-is-not-owned-by-root
when User= is set (when AEM is running as root, the issue is gone)

https://github.com/Cognifide/gradle-aem-plugin/blob/master/src/asset/localInstance/defaults/service/sysvinit.sh
these tpl to be tested

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant