# how to use systemd to start my custom service

**URL:** <https://forum.ansible.com/t/how-to-use-systemd-to-start-my-custom-service/29044>\
**Category:** Ansible Project\
**Tags:** ansible-project\
**Created:** [November 16, 2018, 8:48am UTC](https://forum.ansible.com/t/how-to-use-systemd-to-start-my-custom-service/29044 "2018-11-16T08:48:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dick\_Davies](https://avatars.discourse-cdn.com/v4/letter/d/b9e5f3/32.png) [@Dick\_Davies](https://forum.ansible.com/u/Dick_Davies)\
**Post date:** [November 16, 2018, 8:48am UTC](https://forum.ansible.com/t/how-to-use-systemd-to-start-my-custom-service/29044/1 "2018-11-16T08:48:49Z")

</div>

"msg": "Failed to get D-Bus connection: Operation not permitted",

you're not running ansible with high enough privileges. try a become:  
yes somewhere in there.
