{"id":85,"date":"2006-10-31T20:54:37","date_gmt":"2006-10-31T08:54:37","guid":{"rendered":"http:\/\/craig.dubculture.co.nz\/blog\/2006\/10\/31\/periods-in-run-parts\/"},"modified":"2007-04-14T14:53:12","modified_gmt":"2007-04-14T02:53:12","slug":"periods-in-run-parts","status":"publish","type":"post","link":"http:\/\/craig.dubculture.co.nz\/blog\/2006\/10\/31\/periods-in-run-parts\/","title":{"rendered":"Periods in run-parts"},"content":{"rendered":"<p>Repeat after me, Debian\/Ubuntu sysadmins.  <strong>You cannot use the period (.) character in \/etc\/foo.d directories<\/strong>.  Can't can't can't.<\/p>\n<p>Why? Well, <em>man runparts<\/em> says:<\/p>\n<blockquote><p>If  the  --lsbsysinit  option  is not given then the names must consist<br \/>\nentirely of upper and lower  case  letters,  digits,  underscores,  and<br \/>\nhyphens.<\/p><\/blockquote>\n<p>So, you can't have files named \"vhost.foo.co.nz\" in your \/etc\/logrotate.d directory, and you can't have files named \"awstats-foo.co.nz\" in your \/etc\/cron.d directory.<\/p>\n<p>As much of a big deal is made of Halloween, and as many groups of kids I saw walking the streets about 7:45, we only had one person knock on the door trick-or-treating. And we managed to successfully pretend we weren't here, sitting in the lounge watching <a href=\"http:\/\/en.wikipedia.org\/wiki\/Torchwood\">Torchwood<\/a>. (I keep waiting for the Doctor to turn up.)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Repeat after me, Debian\/Ubuntu sysadmins. You cannot use the period (.) character in \/etc\/foo.d directories. Can't can't can't. Why? Well, man runparts says: If the --lsbsysinit option is not given then the names must consist entirely of upper and lower case letters, digits, underscores, and hyphens. So, you can't have files named \"vhost.foo.co.nz\" in your [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[66,68],"tags":[28,8,27,19],"_links":{"self":[{"href":"http:\/\/craig.dubculture.co.nz\/blog\/wp-json\/wp\/v2\/posts\/85"}],"collection":[{"href":"http:\/\/craig.dubculture.co.nz\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/craig.dubculture.co.nz\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/craig.dubculture.co.nz\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/craig.dubculture.co.nz\/blog\/wp-json\/wp\/v2\/comments?post=85"}],"version-history":[{"count":0,"href":"http:\/\/craig.dubculture.co.nz\/blog\/wp-json\/wp\/v2\/posts\/85\/revisions"}],"wp:attachment":[{"href":"http:\/\/craig.dubculture.co.nz\/blog\/wp-json\/wp\/v2\/media?parent=85"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/craig.dubculture.co.nz\/blog\/wp-json\/wp\/v2\/categories?post=85"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/craig.dubculture.co.nz\/blog\/wp-json\/wp\/v2\/tags?post=85"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}