~ubuntu-branches/ubuntu/vivid/rpcbind/vivid

« back to all changes in this revision

Viewing changes to debian/rpcbind.service

  • Committer: Package Import Robot
  • Author(s): Martin Pitt
  • Date: 2015-03-03 08:32:38 UTC
  • Revision ID: package-import@ubuntu.com-20150303083238-om0q2aef8puzk9i9
Tags: 0.2.1-6ubuntu2
Add systemd unit. Patch by Simon McVittie. (Closes: #748074, LP: #1312976)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
[Unit]
 
2
Description=RPC bind portmap service
 
3
After=systemd-tmpfiles-setup.service
 
4
Wants=remote-fs-pre.target
 
5
Before=remote-fs-pre.target
 
6
DefaultDependencies=no
 
7
 
 
8
[Service]
 
9
Environment="OPTIONS=-w"
 
10
ExecStart=/sbin/rpcbind $OPTIONS
 
11
EnvironmentFile=-/etc/rpcbind.conf
 
12
EnvironmentFile=-/etc/default/rpcbind
 
13
Type=forking
 
14
KillMode=process
 
15
Restart=on-failure
 
16
 
 
17
[Install]
 
18
WantedBy=sysinit.target
 
19
Alias=portmap