... | @@ -125,10 +125,9 @@ Again, these lines need to be changed if models are added. |
... | @@ -125,10 +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.
|
|
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.
|
|
Create the `/etc/systemd/system/rts-daqd_wiper.service` file.
|
|
|
|
|
|
```
|
|
```
|
|
|
|
|
|
[Unit]
|
|
[Unit]
|
|
Description=Remove old frame files to reclaim space for the new frame files
|
|
Description=Remove old frame files to reclaim space for the new frame files
|
|
|
|
|
... | @@ -139,10 +138,9 @@ User=controls |
... | @@ -139,10 +138,9 @@ User=controls |
|
Nice=10
|
|
Nice=10
|
|
ExecStart=/usr/bin/daq_wiper -d /frames -t 0.05
|
|
ExecStart=/usr/bin/daq_wiper -d /frames -t 0.05
|
|
#ExecStart=/usr/local/bin/wiper.pl --delete
|
|
#ExecStart=/usr/local/bin/wiper.pl --delete
|
|
|
|
|
|
```
|
|
```
|
|
|
|
|
|
Also create '/etc/systemd/system/rts-daqd_wiper.timer'
|
|
Also create `/etc/systemd/system/rts-daqd_wiper.timer`.
|
|
|
|
|
|
```
|
|
```
|
|
[Unit]
|
|
[Unit]
|
... | @@ -159,9 +157,7 @@ WantedBy=multi-user.target |
... | @@ -159,9 +157,7 @@ WantedBy=multi-user.target |
|
Then enable the wiper.
|
|
Then enable the wiper.
|
|
|
|
|
|
```
|
|
```
|
|
|
|
|
|
sudo systemctl daemon-reload
|
|
sudo systemctl daemon-reload
|
|
sudo systemctl enable rts-daqd_wiper.timer
|
|
sudo systemctl enable rts-daqd_wiper.timer
|
|
|
|
|
|
```
|
|
```
|
|
|
|
|