-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add RAM disk to installer * Simplify checks and messaging * Agressive log rotation * Less linting on pull request * Make logging conditional
- Loading branch information
Showing
4 changed files
with
109 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
[Unit] | ||
Description=RAM disk for encoder logs | ||
After=local-fs.target | ||
|
||
[Service] | ||
Type=oneshot | ||
ExecStartPre=/bin/mkdir -p /mnt/ramdisk | ||
ExecStart=/bin/mount -t tmpfs -o size=256m tmpfs /mnt/ramdisk | ||
RemainAfterExit=yes | ||
|
||
[Install] | ||
WantedBy=multi-user.target |