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:
parent
f31978a503
commit
53dd0efddd
@ -64,7 +64,7 @@ Restart=always
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
EOF
|
||||
systemctl start --now -q domain-locker
|
||||
systemctl enable -q --now domain-locker
|
||||
msg_info "Created Service"
|
||||
|
||||
motd_ssh
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user