aboutsummaryrefslogtreecommitdiffstats
path: root/systemd/pacman-offline-reboot.service
blob: c131d706da0cb5e19f9d4f1c10b1f1dc67615213 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# (C) 2017-2024 by Christian Hesse <mail@eworm.de>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.

[Unit]
Description=Soft-reboot for pacman offline system-update
ConditionPathExists=/system-update

[Service]
Type=oneshot
ExecStart=/usr/bin/systemctl soft-reboot