File: target.service

package info (click to toggle)
python-rtslib-fb 2.1.76-3
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 376 kB
  • sloc: python: 4,371; sh: 76; makefile: 63
file content (15 lines) | stat: -rw-r--r-- 331 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[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