Г. Ейск, улица Армавирская, дом 45, этаж II, кабинет № 221
This is an old revision of the document!
sudo dnf copr enable karlisk/ventoy -y && sudo dnf install ventoy -y cd /opt/ventoy && sudo bash ./VentoyWeb.sh
cd "$HOME/Public/Hailong Sun/ventoy-1.0.93-linux/ventoy-1.0.93/" && sudo bash ./VentoyWeb.sh #https://dragonserw.ru/wiki:ventoy cd "/home/dragonserw/Общедоступные/Hailong Sun/ventoy-1.0.96-linux/ventoy-1.0.96/" && sudo bash ./VentoyWeb.sh #https://dragonserw.ru/wiki:ventoy
Terminal emulator, bash: Use systemd to Start a Linux Service at Boot.
Use systemd to Start a Linux Service at Boot.
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
И еще один файл:
[Unit] Description=My Shell Script (VentoyWeb 1.0.93) Wants=network-online.target After=network.target network-online.target [Service] cd "$HOME/Public/Hailong Sun/ventoy-1.0.93-linux/ventoy-1.0.93/" ExecStart="$HOME/Public/Hailong Sun/ventoy-1.0.93-linux/ventoy-1.0.93/VentoyWeb.sh" -H 192.168.88.42 [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://dragonserw.ru/wiki:ventoy
LOR.