mirror of
https://github.com/azlux/log2ram
synced 2024-11-23 13:56:30 +00:00
Compare commits
3 Commits
68a2ec1be9
...
b8ab7adbc4
Author | SHA1 | Date | |
---|---|---|---|
|
b8ab7adbc4 | ||
|
5cd873123c | ||
|
b0807f8c6b |
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user