~upstart-devel/upstart/upstart-jobs

« back to all changes in this revision

Viewing changes to lib/systemd/system/knot.service

  • Committer: Dimitri John Ledkov
  • Date: 2014-05-06 18:45:46 UTC
  • Revision ID: dimitri.ledkov@canonical.com-20140506184546-5toyx56xxrue0f0v
auto update

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
[Unit]
2
 
Description=Knot DNS server
3
 
After=network.target
4
 
 
5
 
[Service]
6
 
Environment=CONFFILE=/etc/knot/knot.conf
7
 
ExecStartPre=/usr/lib/knot/prepare-environment $CONFFILE
8
 
ExecReload=/usr/sbin/knotc reload
9
 
ExecStart=/usr/sbin/knotd -c $CONFFILE
10
 
Restart=on-abort
11
 
 
12
 
[Install]
13
 
WantedBy=multi-user.target