Change absolute path of systemctl to /bin/systemctl, so it will work in ubuntu 18.04

This commit is contained in:
Micah Lee 2020-04-09 13:58:44 -07:00
parent 9c90a0fa33
commit a0758fb549
No known key found for this signature in database
GPG key ID: 403C2657CD994F73

View file

@ -1,3 +1,3 @@
#!/bin/sh #!/bin/sh
/usr/bin/systemctl restart docker.service /bin/systemctl restart docker.service
/usr/bin/systemctl enable docker.service /bin/systemctl enable docker.service