Ventoy/VBLADE/vblade-master/contrib/persistence/vblade@.service

19 lines
425 B
SYSTEMD
Raw Normal View History

2020-04-04 12:07:50 -04:00
[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