0
0
mirror of https://github.com/ventoy/Ventoy.git synced 2024-11-22 09:46:16 +00:00
Ventoy/VBLADE/vblade-master/contrib/persistence/vblade@.service
2020-04-05 00:08:01 +08:00

19 lines
425 B
Desktop File

[Unit]
Description=vblade instance %I
SourcePath=/etc/vblade.conf.d/%I.conf
Documentation=man:vblade(8)
PartOf=vblade.service
After=rc-local.service
[Service]
Type=simple
Environment="ionice=-c2 -n7"
EnvironmentFile=/etc/vblade.conf.d/%I.conf
ExecStart=/usr/bin/ionice $ionice /usr/sbin/vblade $shelf $slot $netif $filename $options
SyslogIdentifier=vblade
Restart=always
RestartSec=10
[Install]
WantedBy=multi-user.target