Created
March 8, 2017 19:17
-
-
Save JohnPreston/36c24ecc545d6b3ecd402c5e7b1c6163 to your computer and use it in GitHub Desktop.
Systemd call to script to add an IP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Add Secondary IP | |
After=network-service.target network.target | |
Wants=network.target | |
[Service] | |
Type=forking | |
ExecStart=/etc/addip.sh 10.163.59.174/21 | |
[Install] | |
WantedBy=multi-user.target | |
RemainAfterExit=yes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment