@pastthepixels @kemona_halftau testing using this program:
#include <stdio.h>
#include <unistd.h>
int main(void) {
pid_t pid = fork();
switch (pid) {
case -1:
perror("fork");
return 1;
case 0: // child
printf("child\n");
for (;;) pause();
default: // parent
printf("parent, child PID = %d\n", pid);
return 0;
}
}
the child process does not get killed when the parent terminates. on linux, you can set the signal child processes receive when the parent dies using prctl(PR_SET_PDEATHSIG, …), but by default the child processes do not get killed when the parent dies
@solonovamax @kemona_halftau @luana there’s too many commands beginning with sy (even installed by systemd, there’s a load of systemd-*) and systemctl subcommands beginning with re for that to work. on my server the shortest unique tab completion is sudo systemc[tab] rest[tab]
@kemona_halftau I think I understand it a bit better now:
@thing send_files if you want to self-host something temporarily, x0.at (or previously 0x0.st, but that’s down now) if you want a file upload website hosted by a third party