AEM 6.0 quickstart with systemd service definition?
Is there any known issues with deploying the AEM 6.0 quickstart within a systemd service?
I'm finding that with the AEM 6.0 quickstart, the unpacking does not respect the WorkingDirectory of the systemd service definition, always instead unpacking to the same directory where the quickstart jar file exists.
Unpacking outside of systemd works as expected (respects working directory), but for some reason it's not respecting the working directory that systemd sets the process to.
I've verified with pwd that the working directory is what it's set as in the systemd service definition, so this isn't the issue.
It is problematic that the AEM 6.0 quickstart is attempting to unpack in the same directory as the jar file, as the user we're having AEM execute with does not have write permissions to the folder the quickstart jar lies in.
If the quickstart isn't unpacking to quite exactly the working directory (as would usually be expected) what algorithm is used to determine where to unpack to?