hey guys, I wanted to make a snap of the XWiki using the Debian package (Since it already has a working Debian package ).
when you install XWiki it installs a service, it’s registered in systemd. How do I expose the service to the host using the apps part of the snap? I can’t find the service startup script when I unsquashfs the contents of the snap . The startup script is located in
usr/libexec/tomcat9/tomcat-start.sh.
When I use the following location in the command(in apps part): it throws this error
Failed to generate snap metadata: The specified command ‘usr/libexec/tomcat9/tomcat-start.sh’ defined in the app ‘xwiki’ does not exist. Ensure that ‘usr/libexec/tomcat9/tomcat-start.sh’ is installed with the correct path.
thank you