systemctl enable shows error "is missing the instance name"

Solution Unverified - Updated -

Issue

  • When trying to add a service on systemd that uses the resource of receiving parameters using "@" on the name, the command is failing showing the message "Failed to execute operation: Unit name @.service is missing the instance name."

Environment

  • Red Hat Enterprise Linux 7
  • systemd

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.