/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to mandos.service

  • Committer: Teddy Hogeborn
  • Date: 2015-07-07 15:49:49 UTC
  • Revision ID: teddy@recompile.se-20150707154949-vbuj4pc6wf3o1vgz
mandos.service: Use Type=dbus (implicitly).

mandos.service ([Service]/Type): Removed.
               ([Service]/BusName): Uncommented; set to
                                    "se.recompile.Mandos".

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
Documentation=man:intro(8mandos) man:mandos(8)
4
4
 
5
5
[Service]
6
 
Type=simple
7
 
## Type=dbus is not appropriate, because Mandos also needs to announce
8
 
## its ZeroConf service and be reachable on the network.
9
 
#Type=dbus
10
 
## Can't set the D-Bus name since we aren't Type=dbus
11
 
#BusName=se.recompile.Mandos
 
6
BusName=se.recompile.Mandos
12
7
ExecStart=/usr/sbin/mandos --foreground
13
8
Restart=always
14
9
KillMode=mixed
15
 
## Using socket activation won't work either, because systemd always
16
 
## does bind() on the socket, and also won't announce the ZeroConf
17
 
## service.
 
10
## Using socket activation won't work, because systemd always does
 
11
## bind() on the socket, and also won't announce the ZeroConf service.
18
12
#ExecStart=/usr/sbin/mandos --foreground --socket=0
19
13
#StandardInput=socket
20
14