Update-Hosts-LXC/lxc-update-hosts.service

11 lines
219 B
Desktop File

[Unit]
Description=Update /etc/hosts for LXC container
After=lxc-container-start.target
[Service]
Type=oneshot
ExecStart=/usr/local/lxc-scripts/update-hosts-lxc.sh
RemainAfterExit=yes
[Install]
WantedBy=default.target