Paste number 307618: systemd-timer-nexus5

Paste number 307618: systemd-timer-nexus5
Pasted by: otwieracz
When:6 years, 7 months ago
Share:Tweet this! | http://paste.lisp.org/+6LCY
Channel:None
Paste contents:
Raw Source | XML | Display As
[root@Jolla system]# cat /etc/systemd/system/sensorfwd-restart.service 
[Unit]
Description=Restart sensorfwd service

[Service]
Type=oneshot
ExecStart=/bin/systemctl restart sensorfwd.service
User=root
Group=root

[root@Jolla system]# cat /etc/systemd/system/sensorfwd-restart.timer   
[Unit]
Description=Run sensorsfwd-restart every 5min

[Timer]
OnBootSec=2min
OnUnitActiveSec=5min

[Install]
WantedBy=timers.target

This paste has no annotations.

Colorize as:
Show Line Numbers

Lisppaste pastes can be made by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively.