[Unit] Description=Enable WOL for Ethernet Device %I. After=syslog.target network.target [Service] Type=oneshot RemainAfterExit=yes EnvironmentFile=-/etc/conf.d/wol ExecStart=/sbin/ethtool -s %i wol $WOLMODE #[Install] #Alias=multi-user.target/wol@eth1.service