SYSTEMD-RC-LOCAL-GENERATOR(8) systemd-rc-local-generator SYSTEMD-RC-LOCAL-GENERATOR(8)NAME
systemd-rc-local-generator - Compatibility generator for starting /etc/rc.local and /usr/sbin/halt.local during boot and shutdown
SYNOPSIS
/lib/systemd/system-generators/systemd-rc-local-generator
DESCRIPTION
systemd-rc-local-generator is a generator that checks whether /etc/rc.local exists and is executable, and if it is pulls the
rc-local.service unit into the boot process. This unit is responsible for running this script during late boot. Note that the script will
be run with slightly different semantics than the original System V version, which was run "last" in the boot process, which is a concept
that does not translate to systemd. The script is run after network.target, but in parallel with most other regular system services.
systemd-rc-local-generator also checks whether /usr/sbin/halt.local exists and is executable, and if it is pulls the halt-local.service
unit into the shutdown process. This unit is responsible for running this script during later shutdown.
Support for both /etc/rc.local and /usr/sbin/halt.local is provided for compatibility with specific System V systems only. However, it is
strongly recommended to avoid making use of these scripts today, and instead provide proper unit files with appropriate dependencies for
any scripts to run during the boot or shutdown processes.
systemd-rc-local-generator implements systemd.generator(7).
SEE ALSO systemd(1), systemctl(1)systemd 237SYSTEMD-RC-LOCAL-GENERATOR(8)
Check Out this Related Man Page
SYSTEMD-RC-LOCAL-GENERATOR(8) systemd-rc-local-generator SYSTEMD-RC-LOCAL-GENERATOR(8)NAME
systemd-rc-local-generator - Compatibility generator for starting /etc/rc.local and /usr/sbin/halt.local during boot and shutdown
SYNOPSIS
/lib/systemd/system-generators/systemd-rc-local-generator
DESCRIPTION
systemd-rc-local-generator is a generator that checks whether /etc/rc.local exists and is executable, and if it is pulls the
rc-local.service unit into the boot process. This unit is responsible for running this script during late boot. Note that the script will
be run with slightly different semantics than the original System V version, which was run "last" in the boot process, which is a concept
that does not translate to systemd. The script is run after network.target, but in parallel with most other regular system services.
systemd-rc-local-generator also checks whether /usr/sbin/halt.local exists and is executable, and if it is pulls the halt-local.service
unit into the shutdown process. This unit is responsible for running this script during later shutdown.
Support for both /etc/rc.local and /usr/sbin/halt.local is provided for compatibility with specific System V systems only. However, it is
strongly recommended to avoid making use of these scripts today, and instead provide proper unit files with appropriate dependencies for
any scripts to run during the boot or shutdown processes.
systemd-rc-local-generator implements systemd.generator(7).
SEE ALSO systemd(1), systemctl(1)systemd 237SYSTEMD-RC-LOCAL-GENERATOR(8)
I need a script to halt at the end and wait for the user to hit a key...could be any ket or enter. I know it can be done but I am just starting out.. Thanks (9 Replies)
hi
I want to verify that a process exists. if the process exists, then it means the service is up.
ps -ef | grep monito
returns an entry if the service is up.
how to translate that in a shell script??
many thanks (4 Replies)
Hi all,
I have a shell script which does db shutdown ..the script snippet which does this is as follows:
function call_sql_plus {
${SQLPLUS:-sqlplus} -s /nolog <<EOF
EXIT;
EOF
if
then
echo "Error occurred while calling sqlplus "
... (3 Replies)
Hi Everyone,
I have an ftp script which pulls files from ATM in a daily basis. But for the last two days i found that the script is throwing some error like
********************************************
cat: 0652-050 Cannot open EJpullErr_20090411.log.
cat: 0652-050 Cannot open... (5 Replies)
Friends ,
I am going to update the oracle version from '10.2.0.1.0' to '10.2.0.4.0' in AIX 6.1 . During upgradation it needs to run the following script as root user :
sh /usr/sbin/slibclean
But when this script is run then it shows the following error :
# sh /usr/sbin/slibclean
sh:... (7 Replies)
Hi Friends,
I have a script which returns me the following values line by line
ora_smon_RCAT102
oracleKHP102B (DESC
oraclePROOIDDB92 (DES
oraclePMS (DESCRIP
oracleBRIO (LOCAL=N
oracleBRIO (LOCAL=N
oraclePRDB92 (DES
oracleBRIO (LOCAL=N
oracleBRIO (LOCAL=N
oraclePMS (DESCRIP... (4 Replies)
Morning
My other issue I have seems very simple but im just not seeing it. I have a script that checks on a remote share to see if the backups for some systems have run. Its as simple as:
find /mnt/ukwcs-net-config/WLAN-Controllers/ -mtime -1 -ls | egrep '(cfg)' > wlanlog.txt
cut -c 1-92... (4 Replies)
Hi experts,
I'd like to generate the table/file containing:
number of milliseconds elapsed since midnight till midnight.
It should contain 5 columns (hours minutes seconds milliseconds):
Table will have theoretically 86 400 000 rows.
My question is , is there somewhere the file or source... (7 Replies)
Ok, Lets see if I can explain this
We have a script that pulls information from multiple files and outputs it, however I only need 2 Columns (of 11) from it
right now I run the script like this:
tkxtrn | awk '{print $5" "" "$9}'
This gives me column 5 and 9, the only two I care for
... (5 Replies)
Good morning!
I'm trying to add Maven to the system boot by the moment without success.
Testing the operation of the script I realize that the process isn't persistent when the program is launched with the start option.
---- #Startup Script ----
#! /bin/sh
# chkconfig: 345 99 1
#... (5 Replies)
Heyas
As you know me, i have scripts for about almost every aspect of my IT life.
This time, i'm having issues to figure out why my script to connect to my wifi spots takes so long when started as service.
The service file (the after:local-fs.target is for 'home installations'):
cat... (3 Replies)
I am having check.sh script and check.service which I include to /etc/systemd/system/
chmod 744 /usr/local/bin/check.sh
chmod 664 /etc/systemd/system/check.service
systemctl daemon-reload
systemctl enable check.servicecheck.sh:
websockify 5555 localhost:7000 &
date >... (9 Replies)
Hello,
I have a backup script that runs an rsync backup to an external drive. I use the script frequently on Windows and Linux and have installed it on a Mac. The script has an option to run shutdown after the backup has completed. Since backup can take hours to run, this is an option that is... (10 Replies)
Hello
I use a bash script to creating the hosts file /etc/hosts
But there is a bug inside my output and I want to fix this.
My Array looks like this:
205,IP 111.122.133.20
205,HOST2 unas
205,HOST1 unas15533
205,COMMENT # UNAS
775,IP ... (9 Replies)