dev-python/rtslib-fb: pick https://github.com/gentoo/gentoo/pull/16516
This commit is contained in:
parent
03da58be03
commit
b05e49065e
3 changed files with 41 additions and 0 deletions
14
dev-python/rtslib-fb/files/target.service
Normal file
14
dev-python/rtslib-fb/files/target.service
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
[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/targetctl restore
|
||||
ExecStop=/usr/bin/targetctl clear
|
||||
SyslogIdentifier=target
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Loading…
Add table
Add a link
Reference in a new issue