Site Tools


wiki:ventoy

Ventoy

https://github.com/ventoy/Ventoy/releases/latest; https://github.com/ventoy/Ventoy/issues; https://github.com/ventoy/Ventoy/releases/tag/v1.0.71.

  • cd $HOME/Public/_iso/ventoy-1.0.71-linux/ventoy-1.0.71
  • cd $HOME/Общедоступные/ventoy-1.0.71-linux/ventoy-1.0.71

Terminal emulator, bash: Use systemd to Start a Linux Service at Boot.

systemd

https://www.linode.com/docs/guides/start-service-at-boot/.

  1. test_service.sh
DATE=`date '+%Y-%m-%d %H:%M:%S'`
echo "Example service started at ${DATE}" | systemd-cat -p info
 
while :
do
echo "Looping...";
sleep 30;
done

И еще один файл:

  1. myservice.service
[Unit]
Description=My Shell Script (VentoyWeb 1.0.71)
Wants=network-online.target
After=network.target network-online.target
 
[Service]
cd /home/dragonserw/Public/ventoy-1.0.71/
ExecStart=/home/dragonserw/Public/ventoy-1.0.71/VentoyWeb.sh -H 192.168.88.48
 
[Install]
WantedBy=multi-user.target
sudo cp test_service.sh /usr/bin/test_service.sh && sudo chmod +x /usr/bin/test_service.sh
sudo cp myservice.service /etc/systemd/system/myservice.service && sudo chmod 644 /etc/systemd/system/myservice.service && sudo systemctl enable myservice

https://www.linux.org.ru/forum/admin/17009696.

Альтернатива

wiki/ventoy.txt · Last modified: 2022/12/24 18:36 by serw