I install confluence with other username.
I can't start confluence as service on ubuntu. i set the new user and confluence in the same group. and all permission is ok for confluence user.
You should start the service as root and define the user with whom the confluence should run in the configurations file.
You should also carry out the installation and updates with this user.
File is: /etc/systemd/system/confluence_ps.service
OS: Debian
[Unit]
Description=Atlassian Confluence mit Postgresql (Wiki)
After=syslog.target network.target
[Service]
Type=forking
User=confluence
#Environment="JAVA_HOME=/usr/lib/jvm/jdk1.8.0_191"
#Environment="JRE=/usr/lib/jvm/jdk1.8.0_191/jre"
ExecStart=/data/atlassian_ps/confluence/bin/start-confluence.sh
ExecStop=/data/atlassian_ps/confluence/bin/stop-confluence.sh
[Install]
WantedBy=multi-user.target
The environment variables are commented out and can be omitted.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.