blob: b4e7b48141dbd9672abf4ecdf1f1e7f506df783f (
about) (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# (C) 2017-2025 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=Offline system update with pacman - Reboot
Documentation=https://pacman-offline.eworm.de/
After=pacman-offline.service
DefaultDependencies=no
Conflicts=shutdown.target
Before=shutdown.target system-update.target
ConditionPathExists=/run/pacman-offline-done
ConditionPathExists=!/run/pacman-offline-poweroff
SuccessAction=reboot
[Service]
Type=oneshot
ExecStart=/usr/bin/rm --force /run/pacman-offline-done /run/systemd/system/systemd-reboot.service
|