1
0
mirror of https://github.com/azlux/log2ram synced 2024-11-23 13:56:30 +00:00

Compare commits

...

3 Commits

3 changed files with 4 additions and 2 deletions

View File

@ -19,10 +19,10 @@ _____
6. [Uninstallation](#uninstallation-) 6. [Uninstallation](#uninstallation-)
## Installation ## Installation
### Via APT (recommended) ### Via APT (recommended) (genericized)
```bash ```bash
echo "deb [signed-by=/usr/share/keyrings/azlux-archive-keyring.gpg] http://packages.azlux.fr/debian/ bookworm main" | sudo tee /etc/apt/sources.list.d/azlux.list echo "deb [signed-by=/usr/share/keyrings/azlux-archive-keyring.gpg] http://packages.azlux.fr/debian/ $(bash -c '. /etc/os-release; echo ${VERSION_CODENAME}') main" | sudo tee /etc/apt/sources.list.d/azlux.list
sudo wget -O /usr/share/keyrings/azlux-archive-keyring.gpg https://azlux.fr/repo.gpg sudo wget -O /usr/share/keyrings/azlux-archive-keyring.gpg https://azlux.fr/repo.gpg
sudo apt update sudo apt update
sudo apt install log2ram sudo apt install log2ram

View File

@ -1,6 +1,7 @@
[Unit] [Unit]
Description=Daily Log2Ram writing activities Description=Daily Log2Ram writing activities
After=log2ram.service After=log2ram.service
Documentation=https://github.com/azlux/log2ram
[Service] [Service]
ExecStart=/bin/systemctl reload log2ram.service ExecStart=/bin/systemctl reload log2ram.service

View File

@ -6,6 +6,7 @@ After=local-fs.target
Conflicts=shutdown.target reboot.target halt.target Conflicts=shutdown.target reboot.target halt.target
RequiresMountsFor=/var/log /var/hdd.log RequiresMountsFor=/var/log /var/hdd.log
IgnoreOnIsolate=yes IgnoreOnIsolate=yes
Documentation=https://github.com/azlux/log2ram
[Service] [Service]
Type=oneshot Type=oneshot