Reputation
482
Top tag
Next privilege 500 Rep.
Access review queues
Badges
5 13
Newest
 Necromancer
Impact
~211k people reached

  • 0 posts edited
  • 0 helpful flags
  • 123 votes cast
Aug
28
comment haproxy + stunnel + keep-alive?
However, if you need websockets then nginx will not work.
Jul
4
accepted Port forwarding with DNAT and SNAT without touching other packets
Jul
4
comment Port forwarding with DNAT and SNAT without touching other packets
Or I could combine the current SNAT rule with the mark right? Excellent, didn't know about marking!
Jul
3
comment Port forwarding with DNAT and SNAT without touching other packets
Thanks, in general you're right but in this particular case I actually I do want to NAT ;-). The routing is for private subnets and the port NAT has to appear to come from within the private subnet.
Jul
3
asked Port forwarding with DNAT and SNAT without touching other packets
Feb
13
comment Cheap but Highly Available Shared Storage?
@FlorenzKley, hardly cheap but interesting, thanks :)
Feb
13
comment Cheap but Highly Available Shared Storage?
:-O Too localized? Is the group wanting cheap but highly available storage that small?
Oct
17
comment Keeping a linux process running after I logout
@JeremyVisser that sounds really plausible!
Oct
17
comment init script that logs output of the script
Sure, I meant like this: /var/customDaemon &> /dev/null 1<&- &
Oct
16
comment init script that logs output of the script
I would add a 1<&- in front of the final & so that stdin is closed for the daemon. Helps when starting it from the command line.
Oct
11
answered Monitoring ZFS-FUSE
Oct
11
comment Monitoring ZFS-FUSE
Are both systems similar (memory/disk)? Are you using different features (compression/deduplication)? You can also try compiling it from source, see zfs-fuse.net and the alternative repositories it mentions.
Oct
8
awarded  Yearling
Sep
19
comment Keeping a linux process running after I logout
And to be honest I don't really know why this daemonizes the thing you're running :-) It does work though, we use it in production. I discovered it while messing around hoping I could daemonize a process in shell without needing anything special - so I started by closing stdin and that was enough. I should go read some shell sources but I presume that if you close stdin and background the process, it also detaches the process.
Sep
19
comment Keeping a linux process running after I logout
When you do x<&-, that closes file descriptor x. In this case there is no x, which makes bash default to 1, i.e. standard input. If you use </dev/null you're not closing stdin, you're just giving an empty file to the program as input.
Sep
16
comment Keeping a linux process running after I logout
see my answer showing how to do it it with any sh-lookalike
Sep
16
answered Keeping a linux process running after I logout
Sep
12
answered How can I launch a screen session with a command over ssh on a remote server from my desktop?
Sep
5
awarded  Nice Answer
Apr
20
awarded  Notable Question