/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: 2014-02-16 02:42:42 UTC
  • Revision ID: teddy@recompile.se-20140216024242-9wiw1nkxgt7ohovj
Fix running of self-tests.

* debian/control (Build-Depends): Add Python dependencies to
                                  successfully run self-tests.
* debian/copyright: GPLv3 now has its own license file - use it.
* debian/watch: Set PGP signature URL.
* mandos (main): Bug fix: When running self-tests, set exit code.
* mandos-ctl (main): Cosmetic fix; use os.EX_OK instead of plain 0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
[Unit]
2
2
Description=Server of encrypted passwords to Mandos clients
3
 
Documentation=man:intro(8mandos) man:mandos(8)
4
3
 
5
4
[Service]
6
5
Type=simple
7
6
## Type=dbus is not appropriate, because Mandos also needs to announce
8
7
## its ZeroConf service and be reachable on the network.
9
8
#Type=dbus
10
 
## Can't set the D-Bus name since we aren't Type=dbus
11
 
#BusName=se.recompile.Mandos
 
9
BusName=se.recompile.Mandos
 
10
# If you add --no-dbus, also comment out BusName above, and vice versa
12
11
ExecStart=/usr/sbin/mandos --foreground
13
12
Restart=always
14
 
KillMode=mixed
 
13
KillMode=process
15
14
## Using socket activation won't work either, because systemd always
16
15
## does bind() on the socket, and also won't announce the ZeroConf
17
16
## service.