/mandos/release

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

« back to all changes in this revision

Viewing changes to mandos.service

  • Committer: Teddy Hogeborn
  • Date: 2015-05-31 15:29:22 UTC
  • mto: (237.7.594 trunk)
  • mto: This revision was merged to the branch mainline in revision 325.
  • Revision ID: teddy@recompile.se-20150531152922-o1xv6qr3hbj1twm0
mandos: Use codecs.open() and print() for PID file.

Use more Pythonic code, closer to the Python 3 style.

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)
3
4
 
4
5
[Service]
5
6
Type=simple
6
7
## Type=dbus is not appropriate, because Mandos also needs to announce
7
8
## its ZeroConf service and be reachable on the network.
8
9
#Type=dbus
9
 
BusName=se.recompile.Mandos
 
10
#BusName=se.recompile.Mandos
10
11
# If you add --no-dbus, also comment out BusName above, and vice versa
11
12
ExecStart=/usr/sbin/mandos --foreground
12
13
Restart=always