PXE
PXE copied to clipboard
systemd init
in case anyone else needs one like I did. this is working on ubuntu 22.04
[Unit]
Description=iVentoy tftp service
Wants=network-online.target
After=network-online.target
DefaultDependencies=no
Conflicts=shutdown.target
Before=shutdown.target
[Service]
Type=forking
# REPLACE WITH YOUR INSTALL DIRECTORY BELOW
WorkingDirectory=/usr/local/iventoy
ExecStart=bash iventoy.sh -R start
ExecStop=bash iventoy.sh stop
[Install]
WantedBy=multi-user.target
maybe make an examples/init or something similar in the release, for things like this?