Skip to content

Commit

Permalink
systemd service file
Browse files Browse the repository at this point in the history
corrected & verified systemd service file
  • Loading branch information
jwieder committed Sep 28, 2015
1 parent ddacfd8 commit 577499e
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions aliaser.service
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,17 @@
[Unit]
Description=Assigning Secondary IPs to NIC
Documentation=http://www.joshwieder.net/2015/08/assigning-multiple-ip-addresses-to.html
After=network-online.target
After=network.target remote-fs.target network-online.target

[Service]
Type=oneshot
User=root
RemainAfterExit=yes

RemainAfterExit=no
ExecStart=/usr/bin/aliaser start
ExecReload=/usr/bin/aliaser reload
ExecStop=/usr/bin/aliaser stop

ExecStart=/usr/libexec/aliasing start
ExecReload=/usr/libexec/aliasing reload
ExecStop=/usr/libexec/aliasing stop

StandardOutput=syslog
StandardError=syslog
[Install]
WantedBy=multi-user.target

0 comments on commit 577499e

Please sign in to comment.