fedora-sysv / initscripts

📜 Scripts to bring up network interfaces and legacy utilities in Fedora.
GNU General Public License v2.0
45 stars 51 forks source link

Code optimization in etc/rc.d/init.d/functions #459

Closed linzhuorong closed 12 months ago

linzhuorong commented 12 months ago

Check whether the /var/run/XXX.pid file can be added to __pids_var_run() in etc/rc.d/init.d/functions. image

lnykryn commented 12 months ago

On all modern Linux distributions /var/run is just a symlink to /run.