docs: add loginctl linger

This commit is contained in:
Mohamed Sohail 2021-11-17 19:11:56 +03:00
parent adcd7a4aba
commit cdcc6311ac
Signed by: kamikazechaser
GPG Key ID: 7DD45520C01CD85D

View File

@ -3,6 +3,8 @@
```bash ```bash
# --------------------------- # ---------------------------
# 1. Environment setup (Ubuntu 20.04) # 1. Environment setup (Ubuntu 20.04)
# - assumes the account name is "deployer"
# --------------------------- # ---------------------------
# install deps # install deps
@ -51,6 +53,9 @@ sudo nano /etc/systemd/user/tower.service
sudo systemctl daemon-reload sudo systemctl daemon-reload
systemctl --user start tower.service systemctl --user start tower.service
systemctl --user enable tower.service systemctl --user enable tower.service
# Enable systemd persistence
loginctl enable-linger deployer
``` ```
### Debug ### Debug