22 lines
527 B
Desktop File
22 lines
527 B
Desktop File
[Unit]
|
|
Description=VDI overnight reboot and health observer
|
|
After=local-fs.target systemd-journald.service systemd-pstore.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=armbian
|
|
SupplementaryGroups=systemd-journal
|
|
Environment=HOME=/home/armbian
|
|
Environment=VDI_OBSERVER_INTERVAL=60
|
|
ExecStartPre=+/usr/local/libexec/vdi-observer-pstore
|
|
ExecStart=/home/armbian/vdi-terminal/bin/vdi-overnight-observer
|
|
Restart=on-failure
|
|
RestartSec=5
|
|
Nice=10
|
|
IOSchedulingClass=idle
|
|
NoNewPrivileges=true
|
|
TimeoutStopSec=15
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|