- https://github.com/Benjamin-Loison
- Joined on
2022-10-16
Block a user
Benjamin_Loison
opened issue Benjamin_Loison/Repository_with_an_issue_attac...#1
2025-02-19 00:56:49 +01:00
An issue with an attachment
Benjamin_Loison
created repository Benjamin_Loison/Repository_with_an_issue_attac...
2025-02-19 00:55:10 +01:00
Do not share cookies between
HOSTNAME/git/
and HOSTNAME/doc/
Related to Benjamin-Loison/darkreader/issues/27.
Log
/etc/rc.local
std{out,err}
Log
/etc/rc.local
std{out,err}
I tested on my host Debian 12 GNOME laptop flat wifi:
/etc/rc.local
:
#!/bin/sh
LOCAL_USER_NAME=benjamin_loison
SERVER_HOST_NAME=CENSORED_VP…
Log
/etc/rc.local
std{out,err}
There is no need to wait 30 seconds after boot in my Virtual Machine Manager virtual machine to access it via SSH:
autossh --help 2>&1
Log
/etc/rc.local
std{out,err}
/etc/rc.local
:
#!/bin/sh
USER_NAME=benjamin_loison
SERVER_HOST_NAME=CENSORED_VPS
SERVER_PORT=2224
SCRIPT="$0"
FOLDER_NAME=`echo -n…
Log
/etc/rc.local
std{out,err}
Without autossh
:
cat _etc_rc_local/std{out,err}.txt
Output:
Start of /etc/rc.local at Tue Feb 18 04:24:02 PM CET 2025
End of /etc/rc.local…
Log
/etc/rc.local
std{out,err}
Let us not add tail -c +2
to be precise, despite being less clean in this case.
Log
/etc/rc.local
std{out,err}
/etc/rc.local
:
#!/bin/sh
SCRIPT='/etc/rc.local'
FOLDER_NAME=etc_rc_local
su --login benjamin_loison -c "
mkdir $FOLDER_NAME/
…
Log
/etc/rc.local
std{out,err}
/etc/rc.local
:
#!/bin/sh
SCRIPT='/etc/rc.local'
FOLDER_NAME=etc_rc_local
su --login benjamin_loison -c "
mkdir $FOLDER_NAME/
…
Log
/etc/rc.local
std{out,err}
head -n 5 etc_rc_local/std{out,err}.txt
Output:
==> etc_rc_local/stdout.txt <==
Start of /etc/rc.local at Tue Feb 18 03:38:16 PM CET 2025
Tue…
Log
/etc/rc.local
std{out,err}
Shell:
while [ true ]
do
echo hey
sleep 1
done >> log.txt &
[1] 95309
log.txt
correctly get filled.
Log
/etc/rc.local
std{out,err}
Shell:
while [ true ]
do
echo hey
sleep 1
done &
[1] 95150
benjamin_loison@Benjamin-Loison-HP-Debian:~$ hey
hey
hey
hey
^C
benjamin_loison@B…
Log
/etc/rc.local
std{out,err}
#!/bin/sh
SCRIPT='/etc/rc.local'
FOLDER_NAME=etc_rc_local
su --login benjamin_loison -c "
mkdir $FOLDER_NAME/
cd $FOLDER_NAME/
(
echo \"Start of $SCRIPT at…
Log
/etc/rc.local
std{out,err}
ls /etc/
Output:
adduser.conf cups group libpaper.d NetworkManager rc5.d sudoers.d
adjtime cupshelpers group- …