Server IP : 192.168.23.10 / Your IP : 18.224.0.57 Web Server : Apache System : Linux echo.premieradvertising.com 5.14.0-362.8.1.el9_3.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Nov 7 14:54:22 EST 2023 x86_64 User : rrrallyteam ( 1049) PHP Version : 8.1.31 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF Directory (0755) : /sbin/../lib/systemd/system/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
# SPDX-License-Identifier: LGPL-2.1-or-later # # This file is part of systemd. # # systemd is free software; you can redistribute it and/or modify it # under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation; either version 2.1 of the License, or # (at your option) any later version. [Unit] Description=Remove the Offline System Updates Symlink Documentation=man:systemd.special(7) man:systemd.offline-updates(7) After=system-update.target DefaultDependencies=no Conflicts=shutdown.target Before=shutdown.target SuccessAction=reboot # system-update-generator uses laccess("/system-update"), while a plain # ConditionPathExists=/system-update uses access("/system-update"), so # we need an alternate condition to cover the case of a dangling symlink. # # This service is only invoked if /system-update exists, i.e. if the # condition tested by system-update-generator remains true and the system # would be diverted into system-update.target again after reboot. This way # we guard against being diverted into system-update.target again, which # works as a safety measure, but we will not step on the toes of the # update script if it successfully removed the symlink and scheduled a # reboot or some other action on its own. ConditionPathExists=|/system-update ConditionPathIsSymbolicLink=|/system-update ConditionPathExists=|/etc/system-update ConditionPathIsSymbolicLink=|/etc/system-update [Service] Type=oneshot ExecStart=rm -fv /system-update /etc/system-update