Create load logging script

This commit is contained in:
2020-07-23 18:02:56 +00:00
parent f6ed84608b
commit 1b6ec8682f
5 changed files with 28 additions and 1 deletions

View File

@@ -2,7 +2,9 @@
## Installing
Install systemd services
Assuming user is `ubuntu`. Extract in `/home/ubuntu/minecraft`
# Install systemd services
```
mkdir -p /home/ubuntu/.config/systemd/user
ln -s /home/ubuntu/minecraft/services/set_initial_ttl.service /home/ubuntu/.config/systemd/user/set_initial_ttl.service
@@ -12,3 +14,9 @@ systemctl --user enable set_initial_ttl
systemctl --user enable ensure_running
loginctl show-user ubuntu --property Linger
```
# Setup user linger and crontab
```
loginctl enable-linger ubuntu
crontab -l /home/ubuntu/minecraft/crontab
```