After looking into the templates error (issue #10 ) I had issues with the custom service that was being installed.
/usr/lib/systemd/system does not exist on Ubuntu 18.04:
devops@cicd-b2ms-4:~/agent$ uname -a
Linux cicd-b2ms-4 5.0.0-1028-azure #30~18.04.1-Ubuntu SMP Fri Dec 6 11:47:59 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
devops@cicd-b2ms-4:~/agent$ stat /usr/lib/systemd/system
stat: cannot stat '/usr/lib/systemd/system': No such file or directory
I removed it, changed the service check a bit (because I ended up with a service that was inactive) and it seems to work fine...
What was the rationale behind using a custom service instead of the one provided by ./svc.sh install?
(PR #11 can be closed if you choose to accept this one)
After looking into the templates error (issue #10 ) I had issues with the custom service that was being installed.
/usr/lib/systemd/system
does not exist on Ubuntu 18.04:I removed it, changed the service check a bit (because I ended up with a service that was
inactive
) and it seems to work fine...What was the rationale behind using a custom service instead of the one provided by
./svc.sh install
?(PR #11 can be closed if you choose to accept this one)