Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

1
  • 1
    "Since Im deploying this VM automatically, doing a manual systemctl enable jenkins is not an option." -> but it seems you're creating the jenkins.service file, so why is one (creating file) ok and the other one not? In any case, all systemctl enable does is create a symlink, so you can also do that (see answer below), it has exactly the same effect. Oh yeah do include an [Install] section in your unit file, that's pretty much required. Commented Feb 23, 2019 at 7:10