Created
July 9, 2016 17:46
-
-
Save x2c3z4/555ab187567fc0da65ce81cb9135bf76 to your computer and use it in GitHub Desktop.
lio-target.service
This file contains hidden or 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
cp target.service /usr/lib/systemd/system/ | |
cd /etc/systemd/system/multi-user.target.wants | |
ln -sf /usr/lib/systemd/system/target.service . | |
$ cat target.service | |
[Unit] | |
Description=Restore LIO kernel target configuration | |
Requires=sys-kernel-config.mount | |
After=sys-kernel-config.mount network.target local-fs.target | |
[Service] | |
Type=oneshot | |
RemainAfterExit=yes | |
ExecStart=/usr/bin/target start | |
SyslogIdentifier=target | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment