unifi-utilities / unifios-utilities

A collection of enhancements for UnifiOS based devices
GNU General Public License v3.0
3.86k stars 415 forks source link

udmboot.service After in wrong section #8

Closed exodious closed 4 years ago

exodious commented 4 years ago

Describe the bug The After=network.target line in udmboot.service is in the wrong section. It belongs in [Unit] not [Service]. A warning is emitted:

Jun 19 22:14:17 ubnt systemd[1]: /etc/systemd/system/udmboot.service:4: Unknown lvalue 'After' in section 'Service', ignoring

To Reproduce Run the installer or manual instructions, then check the log in the unifi-os container.

Expected behavior No warning messages to be emitted.

UDM Information

Additional context See https://www.freedesktop.org/software/systemd/man/systemd.unit.html and https://www.freedesktop.org/software/systemd/man/systemd.service.html

boostchicken commented 4 years ago

Thanks! Merged!