mirror of
https://github.com/clearlinux/WALinuxAgent.git
synced 2026-09-06 05:41:57 +00:00
Add restart to upstart and systemd script
This commit is contained in:
@@ -22,3 +22,5 @@ pre-start script
|
||||
end script
|
||||
|
||||
exec /usr/sbin/waagent -daemon
|
||||
|
||||
respawn
|
||||
|
||||
@@ -8,6 +8,8 @@ ConditionPathExists=/etc/waagent.conf
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/sbin/waagent -daemon
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
|
||||
Reference in New Issue
Block a user