This website works better with JavaScript.
Home
Help
Sign In
heuzef
/
log2ram
mirror of
https://github.com/azlux/log2ram.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
18
Wiki
Activity
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
129
Commits
3
Branches
886 KiB
Tree:
e879db921e
master
openrc-tests
testing
1.7.2
1.7b1
1.6.1
1.6.0
1.5.2
1.5.1
1.5
1.4.4
1.4.3
1.4.2
1.4.1
v1.4
v1.3
v1.2.2
v1.2.1
v1.2
v1.1
v1.0
Branches
Tags
${ item.name }
Create branch
${ searchTerm }
from 'e879db921e'
${ noResults }
log2ram
/
log2ram.cron
log2ram.cron
44 B
Raw
Normal View
History
Use env instead of /bin/sh better for flexible shell
6 years ago
Sync the ramlog back to disk, hourly. - Since the cron job could be called before the user reboots after install (or if log2ram is disabled), we check that the hdd log location exists before syncing. - Copy the log2ram.hourly sync script to cron's hourly directory on install.
8 years ago
Fixed: use systemctl reload to write changes to disk and to the log
7 years ago
1
2
3
#!/usr/bin/env sh
systemctl reload log2ram