~ubuntu-branches/ubuntu/vivid/dnsmasq/vivid-proposed

« back to all changes in this revision

Viewing changes to debian/systemd.service

  • Committer: Package Import Robot
  • Author(s): Simon Kelley
  • Date: 2014-05-11 17:45:21 UTC
  • mfrom: (12.2.19 sid)
  • Revision ID: package-import@ubuntu.com-20140511174521-txxhl08n7bgin641
Tags: 2.70-3
 * Write a pid-file, even when being started using systemd, since
   other components may wish to signal dnsmasq.
 * Enable dnsmasq systemd unit on install. Otherwise dnsmasq does not run on
   fresh installations (without administrator handholding) and even worse it
   is disabled on systems switching from sysv to systemd. Modify
   postinst/postrm exactly as dh_systemd would, add dependency on
   init-system-helpers. Closes: #724602

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
# itself, when called with the "systemd-exec" function.
14
14
#
15
15
# It also adds the command-line flags
16
 
#    --keep-in-foreground --pid-file --enable-dbus 
17
 
# to disable writing a pid-file (not needed with systemd) and 
18
 
# enable DBus by default because we use DBus activation.
 
16
#    --keep-in-foreground --enable-dbus 
 
17
# to enable DBus by default because we use DBus activation.
19
18
#
20
19
ExecStart=/etc/init.d/dnsmasq systemd-exec
21
20