( dorsy | 2024. 07. 20., szo – 20:39 )

miert is? ez szerinted mi a csuda? :D

cat /lib/systemd/system/rc-local.service

#  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.

# This unit gets pulled automatically into multi-user.target by
# systemd-rc-local-generator if /etc/rc.local is executable.
[Unit]
Description=/etc/rc.local Compatibility
Documentation=man:systemd-rc-local-generator(8)
ConditionFileIsExecutable=/etc/rc.local
After=network.target

[Service]
Type=forking
ExecStart=/etc/rc.local start
TimeoutSec=infinity
RemainAfterExit=yes
GuessMainPID=no

nekem ez kapasbol bonyolultabbnak tunik, mint a legalapabb oneshot unit :) es meg csak nem is tudod egyesevel enable/disable-re rakosgatni, szerkesztgetheted az egyetlen scripted, ami ha feluton valahol elhasal nezhetsz, hogy a masik fele vajon miert nem futott le :) vagy, mint a mellekelt abra mutatja, nem nagyon tudod dependalni, szerencse(d)re a systemd-s sracok pont default beleraktak a network-on-t :) viszont ez meg azert sz*r, mert mi van ha halozat nelkul is le kene fusson? o.O ja, akkor besz*ptad...
(olyan aprosagokrol, mint a kulon ENV, journal unit log, stb. mar szot sem ejtek)
de kinek a papne