1
0
mirror of https://github.com/azlux/log2ram.git synced 2023-10-10 13:37:24 +02:00
Commit Graph

133 Commits

Author SHA1 Message Date
Nick Daly
8d440eab6c Exclude log2ram.log from rsync so rsync doesn't delete it on sync. 2016-11-30 13:09:39 -06:00
Nick Daly
ac75c3dac1 Merge in the split-sync changes from master. 2016-11-30 12:29:28 -06:00
Nick Daly
e238849069 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 11:41:41 -06:00
Nick Daly
7d825982ae Write sync status to HDD_LOG/log2ram.log.
- Store sync status directly in the HDD log, to make sure we know
  about it if something fails.  This won't help if the HDD_LOG
  variable is borked, but it'll help with everything else.

- Made sync a function to avoid repeating five lines three times.

- log2ram now requires (cp or rsync) and tee, mount, umount.
2016-11-30 11:24:41 -06:00
azlux
edd77da64e Update README.md 2016-10-20 12:47:56 +02:00
azlux
83be051ed8 oneshot add
From @datenklause
With Type=oneshot, systemd waits until the start action has completed
before it considers the unit to be active, so dependencies start only
after the start action has succeeded. With Type=simple, dependencies
will start immediately after the start action has been dispatched.
2016-10-20 12:41:47 +02:00
azlux
5e0014c848 for dash compatibility 2016-10-18 10:25:27 +02:00
azlux
e54ed85681 if condition issue 2016-10-18 00:32:27 +02:00
azlux
aefbdb7c99 if condition correction 2016-10-18 00:31:24 +02:00
azlux
c8c0e1a392 typo 2016-10-17 10:12:32 +02:00
azlux
9a87d0f940 more info 2016-10-11 15:18:54 +02:00
azlux
a2da447c37 Update README.md 2016-08-29 11:55:28 +02:00
azlux
7ec00e8a95 Update log2ram 2016-08-29 11:54:11 +02:00
azlux
a967244a73 rsyn as option
thank hardvk0 from armbian forum
2016-08-29 11:51:34 +02:00
Sailing74
e50a968dce no x flag for logr2ram.server (#3)
no x flag for logr2ram.server
2016-08-02 20:55:15 +02:00
azlux
8da521ab25 Better mount name
The name of the mount point is now log2ram
2016-08-01 10:25:43 +02:00
azlux
381f24933a Merge pull request #2 from Sailing74/patch-2
Move "Before" to "[Unit]"
2016-07-30 20:49:39 +02:00
azlux
1a18c56d07 Merge pull request #1 from Sailing74/patch-1
Update README.md to correct path to log2ram
2016-07-30 20:38:42 +02:00
Sailing74
5235641f44 Move "Before" to "[Unit]"
This tweak is required to make it run under Ubuntu 16.04
2016-07-30 16:41:58 +02:00
Sailing74
084f53304a Update README.md to correct path to log2ram 2016-07-30 16:39:57 +02:00
azlux
e752e4890b muffins ! 2016-04-20 10:47:39 +02:00
azlux
48980b2de2 I miss all chmod 2016-04-18 14:12:30 +02:00
azlux
f557cedfc6 chmod needed 2016-04-18 14:09:47 +02:00
azlux
f667036300 sudo check 2016-04-18 14:07:20 +02:00
azlux
0f892a82fb Update README.md 2016-04-18 12:09:32 +02:00
azlux
873593776b forget the #! 2016-04-18 12:07:33 +02:00
azlux
4df5b08121 Create install.sh 2016-04-18 12:06:16 +02:00
azlux
1e00b9557e Create log2ram 2016-04-18 12:05:19 +02:00
azlux
3b40e22315 change name 2016-04-18 12:04:19 +02:00
azlux
0c566d995b Update README.md 2016-04-18 12:03:41 +02:00
azlux
c6d5ff7a09 Update README.md 2016-04-18 12:02:10 +02:00
azlux
9cc827110d Create log2ram.service 2016-04-18 12:00:14 +02:00
azlux
9cda5a2afc Initial commit 2016-04-18 11:58:32 +02:00