Update domain-locker-install.sh to enable auto-start after reboot (#9715)

* Update domain-locker-install.sh

It should be `systemctl enable --now`, so service would start again after reboot.

* Apply suggestion from @tremor021

---------

Co-authored-by: Slaviša Arežina <58952836+tremor021@users.noreply.github.com>
This commit is contained in:
Alex Indigo 2025-12-06 02:08:40 -08:00 committed by GitHub
parent f31978a503
commit 53dd0efddd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -64,7 +64,7 @@ Restart=always
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
EOF EOF
systemctl start --now -q domain-locker systemctl enable -q --now domain-locker
msg_info "Created Service" msg_info "Created Service"
motd_ssh motd_ssh