Open timja opened 2 years ago
There are a few https://www.freedesktop.org/software/systemd/man/systemd.unit.html#Specifiers which are not resolved by systemd:
Failed to resolve unit specifiers on "%h", ignoring: Operation not supported
Also the %C is not resolved.
I have default installation of Jenkins for RedHat related OS.
Excerpt from the /etc/systemd/system/jenkins.service file:
After systemctl start jenkins ps command shows me:
jenkins 7128 0.2 9.7 16923192 3180692 ? Ssl Apr19 2:53 /usr/bin/java -Djava.awt.headless=true -jar /usr/share/java/jenkins.war --webroot=%C/jenkins/war --httpPort=8080
And the content ~jenkins directory:
Is this a typo or should %C be converted to something?
Of course, I will change it, because I have to adjust my Jenkins installation.
OS: CentOS Linux release 7.9.2009 (Core)
systemd: 219-78.el7_9.5
Originally reported by dracorp, imported from: Strange environment JENKINS_WEBROOT for default CentOS installation