View Single Post
Guest | Posts: n/a | Thanked: 0 times | Joined on
#25
My version of prey is on my openrepos for you to test.
There is some manual configuration to do after installing the rpm:

/usr/local/share/prey/config

place in /etc/systemd/system/
and enable/start with systemctl start/enable

prey.service

[Unit]
Description=prey as service

[Service]
Type=simple
ExecStart=/usr/local/share/prey/prey.sh


prey.timer

[Unit]
Description=Runs prey every hour

[Timer]
# Time to wait after booting before we run first time
OnBootSec=1min
# Time between running each consecutive time
OnUnitActiveSec=1h
Unit=prey.service

[Install]
WantedBy=multi-user.target
 

The Following 3 Users Say Thank You to For This Useful Post: