mirror of
https://github.com/PartialVolume/shredos.x86_64.git
synced 2026-02-20 09:35:26 +00:00
The systemd service file is taken from Fedora. Signed-off-by: Christophe Vu-Brugier <cvubrugier@fastmail.fm> Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
15 lines
330 B
Desktop File
15 lines
330 B
Desktop File
[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
|