... | ... | @@ -125,8 +125,9 @@ Again, these lines need to be changed if models are added. |
|
|
|
|
|
The wiper script should have been installed with the other 'advligorts' packages, but it must be configured to run at regular intervals, lest the /frames partition fill up.
|
|
|
|
|
|
Create the '`/etc/systemd/system/rts-daqd_wiper.service`' file.
|
|
|
|
|
|
```
|
|
|
sudo vim /etc/systemd/system/rts-daqd_wiper.service
|
|
|
|
|
|
[Unit]
|
|
|
Description=Remove old frame files to reclaim space for the new frame files
|
... | ... | @@ -139,8 +140,11 @@ Nice=10 |
|
|
ExecStart=/usr/bin/daq_wiper -d /frames -t 0.05
|
|
|
#ExecStart=/usr/local/bin/wiper.pl --delete
|
|
|
|
|
|
sudo vim /etc/systemd/system/rts-daqd_wiper.timer
|
|
|
```
|
|
|
|
|
|
Also create '/etc/systemd/system/rts-daqd_wiper.timer'
|
|
|
|
|
|
```
|
|
|
[Unit]
|
|
|
Description=Run rts-daq_wiper every hour
|
|
|
|
... | ... | @@ -150,8 +154,14 @@ AccuracySec=5min |
|
|
|
|
|
[Install]
|
|
|
WantedBy=multi-user.target
|
|
|
```
|
|
|
|
|
|
Then enable the wiper.
|
|
|
|
|
|
```
|
|
|
|
|
|
sudo systemctl daemon-reload
|
|
|
sudo systemctl enable rts-daqd_wiper.timer
|
|
|
|
|
|
```
|
|
|
|