Skip to content

Commit

Permalink
Add install section to Ironic agent systemd service file
Browse files Browse the repository at this point in the history
"Install" section is necessary for for "systemctl enable" command.

Change-Id: I590ac3a1b58a80e156967dd2787a1ba88e8a6fd5
  • Loading branch information
yuriy-z committed Dec 16, 2014
1 parent 9a53631 commit 26e2ec6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion elements/ironic-agent/install.d/60-ironic-agent-install
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ Description=Ironic Python Agent\n
[Service]
ExecStart=/usr/bin/ironic-python-agent
Restart=always
RestartSec=30s\n' > /usr/lib/systemd/system/ironic-python-agent.service
RestartSec=30s\n
[Install]
WantedBy=multi-user.target\n' > /usr/lib/systemd/system/ironic-python-agent.service

sudo systemctl enable ironic-python-agent.service

0 comments on commit 26e2ec6

Please sign in to comment.