Talk:Openfire

From ArchWiki
Jump to navigation Jump to search

Concerning the systemd service override.conf:

Best to do it the systemd way to override that.


 systemctl edit openfire
  • Paste in the following
 [Service]
 
 #Clear ExecStart to override it to blank
 ExecStart=
 # Now set the ExecStart again after blanking and add the 2 additional AUR-installed libraries to class path
 ExecStart=/usr/bin/java -server -DopenfireHome=/usr/share/openfire -Dopenfire.lib.dir=/usr/lib/openfire -cp "/usr/lib/openfire/startup.jar:/usr/share/java/mariadb-jdbc/mariadb-java-client.jar:/usr/share/java/jna.jar" -jar 
 /usr/lib/openfire/startup.jar