1,107 reputation
920
bio website michaelsanford.com
location
age
visits member for 5 years, 7 months
seen Dec 12 at 20:48

Nov
28
awarded  Constituent
Nov
17
awarded  Caucus
Oct
16
comment Does google's web crawler download binary files?
This answer is 2 years old; good (though unfortunate) to know this is happening now...
Sep
30
awarded  Explainer
Aug
19
answered Installing package from PPA using Puppet
Aug
5
comment How to reduce number of sockets in TIME_WAIT?
Indeed, net.netfilter.nf_conntrack_tcp_timeout_time_wait does not affect TIME_WAIT timeout: vincent.bernat.im/en/blog/2014-tcp-time-wait-state-linux.html
Aug
5
comment How to get puppet to stop on the first error in a Manifest?
What, exactly, are you trying to achieve? Puppet is designed as an idemopotent, holistic, state-enforcement tool.
Jul
24
revised Server responds “bus error” to every command
Title, fix some punctuation.
Jul
24
suggested approved edit on Server responds “bus error” to every command
Jul
18
comment Upstart can't stop foreverjs services on shutdown?
@CameronNemo I suspected it, too, but was unsure how to fix it as it's a process manager that itself forks after being run. I'll look at your solution below!
Jul
18
comment Upstart can't stop foreverjs services on shutdown?
The test -d is to check that the shared folder has actually been mounted (forever start can not traverse the filesystem and for whatever reason must be run from the same location as the entry point, hence the chdir). I also don't want the process to respawn by itself if it dies, since these are development instances that might be killed on purpose. I will try this solution and see how it works, though! I didn't consider setuid which will go a long way to solving this.
Jul
18
revised Upstart can't stop foreverjs services on shutdown?
added 71 characters in body
Jul
18
asked Upstart can't stop foreverjs services on shutdown?
May
30
awarded  Yearling
Apr
10
comment Correct way to add commands to to rc.local above “exit 0” with puppet?
Very clever! Thank you for the detailed response.
Apr
10
accepted Correct way to add commands to to rc.local above “exit 0” with puppet?
Mar
27
comment Correct way to add commands to to rc.local above “exit 0” with puppet?
@Zoredache Sorry, over-zealous editing: I accidentally deleted the line in my question where I explained that upstart won't work for this (for various silly reasons I am not in a position to fix).
Mar
27
awarded  Scholar
Mar
27
comment Correct way to add commands to to rc.local above “exit 0” with puppet?
@yoonix Indeed, my first thought was to just source the whole file, but I don't want to be destructive and overwrite content that might already be there (for whatever reason). The deployment environment is still, shall we say, fluid, so I'd like to leave as much wiggle room as possible.
Mar
27
asked Correct way to add commands to to rc.local above “exit 0” with puppet?