Since most big distros are using systemd now it might be interesting for some of you how to modify the unit files provided by the respective packages. Those unit files are located in the /usr/lib/systemd/system/ directory. You could edit them directly - but those changes would be overwritten by the next update of those packages. As a much better alternative you can create drop-in snippets as described in the Arch Linux wiki. It's easy. I've done it for dnsmasq. The default unit file in Arch is this one: Code: [Unit] Description=A lightweight DHCP and caching DNS server After=network.target Documentation=man:dnsmasq(8) [Service] Type=dbus BusName=uk.org.thekelleys.dnsmasq ExecStartPre=/usr/bin/dnsmasq --test ExecStart=/usr/bin/dnsmasq -k --enable-dbus --user=dnsmasq --pid-file ExecReload=/bin/kill -HUP $MAINPID [Install] WantedBy=multi-user.target I wanted to add logging to dnsmasq. In order to do this just execute Code: sudo systemctl edit dnsmasq which opens your default editor with an empty file. I added the following lines: Code: [Service] ExecStart= ExecStart=/usr/bin/dnsmasq -k --enable-dbus --user=dnsmasq --pid-file --log-queries --log-facility=/home/heat/dnsmasq/dnsmasq.log saved that file and exited the editor. (Note that the ExecStart= entry is necessary in order to clear the original ExecStart entry as explained on that wiki page).) This automatically creates the directory /etc/systemd/system/dnsmasq.service.d and the file override.conf therein with the lines above. dnsmasq should be restarted automatically. sudo systemctl status dnsmasq now reports the following: I find this method very useful in order to tailor unit files to your needs.