This website requires JavaScript.
Explore
Help
Sign In
frodovdr
/
log2ram
Watch
1
Star
0
Fork
0
You've already forked log2ram
mirror of
https://github.com/azlux/log2ram.git
synced
2023-10-10 13:37:24 +02:00
Code
Issues
Projects
Releases
Wiki
Activity
ea323c852d
log2ram
/
log2ram.cron
4 lines
44 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Use env instead of /bin/sh better for flexible shell
2018-02-16 01:03:18 +01:00
#!/usr/bin/env sh
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.
2016-11-30 18:41:41 +01:00
Fixed: use systemctl reload to write changes to disk and to the log
2017-12-10 22:45:59 +01:00
systemctl reload log2ram
Reference in New Issue
Copy Permalink