... | ... | @@ -120,3 +120,35 @@ USER_MODELS=c1testcymac1 |
|
|
|
|
|
Again, these lines need to be changed if models are added.
|
|
|
|
|
|
|
|
|
## DAQD WIPER
|
|
|
```
|
|
|
sudo vim /etc/systemd/system/rts-daqd_wiper.service
|
|
|
|
|
|
[Unit]
|
|
|
Description=Remove old frame files to reclaim space for the new frame files
|
|
|
|
|
|
[Service]
|
|
|
Type=oneshot
|
|
|
#User=advligorts
|
|
|
User=controls
|
|
|
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
|
|
|
|
|
|
[Unit]
|
|
|
Description=Run rts-daq_wiper every hour
|
|
|
|
|
|
[Timer]
|
|
|
OnCalendar=*:0/10
|
|
|
AccuracySec=5min
|
|
|
|
|
|
[Install]
|
|
|
WantedBy=multi-user.target
|
|
|
|
|
|
sudo systemctl daemon-reload
|
|
|
sudo systemctl enable rts-daqd_wiper.timer
|
|
|
```
|
|
|
|