blob: f7f3612a93a7ff5527ea80bc00f534b3209af363 (
about) (
plain) (
blame)
1
2
3
4
5
6
7
|
[Unit]
Description=Reboot for pacman offline system-update
ConditionPathExists=/system-update
[Service]
Type=oneshot
ExecStart=/bin/sh -c "if systemctl --dry-run soft-reboot 2>/dev/null; then systemctl soft-reboot; else systemctl reboot; fi"
|