/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-20 00:59:17 UTC
  • Revision ID: teddy@recompile.se-20150720005917-ud7fxa6wcv9y4ta6
mandos-client: Bug fix: don't crash if --dh-params was not used.

* plugins.d/mandos-client.c (main): Bug fix: Check if dh_params_file
                                    is NULL before using it in the
                                    workaround for Debian bug #633582.

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