{"_id":"systemd","_rev":"31-3843f71f7fdbaed5c7f0932915454b14","name":"systemd","description":"systemd socket activation support for Node.js","dist-tags":{"latest":"0.4.0"},"versions":{"0.0.1":{"name":"systemd","version":"0.0.1","main":"./lib/systemd.js","description":"systemd socket activation support for Node.js","keywords":["systemd"],"url":"http://github.com/rubenv/node-systemd","repositories":[{"type":"git","url":"git://github.com/rubenv/node-systemd.git"}],"author":{"name":"Ruben Vermeersch","email":"ruben@savanne.be"},"contributors":[],"licenses":["MIT"],"dependencies":{},"engines":{"node":">=0.4.0 <0.5.0"},"scripts":{"install":"node-waf configure build"},"_npmUser":{"name":"rubenv","email":"ruben@savanne.be"},"_id":"systemd@0.0.1","devDependencies":{},"_engineSupported":true,"_npmVersion":"1.0.93","_nodeVersion":"v0.4.12","_defaultsLoaded":true,"dist":{"shasum":"bc34787051d27193c2eca0effb76bc702e15b728","tarball":"https://registry.npmjs.org/systemd/-/systemd-0.0.1.tgz","integrity":"sha512-pEvriFtryA/oilzO+yrH49qXY/is3n5gbTEjeb4IW9buKZ++K7VCPOlDjNQeSnlqoZWdas5A9Ep1KEHWp7Ms9Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFIFE3aYzR682QI8ottJ9+/LNn0M46foiMgkYscqfkV7AiB2HOC3zVy9EMCVvgcLT/bIwAwNIFttOXOlydxuXh1+Mg=="}]},"maintainers":[{"name":"rubenv","email":"ruben@savanne.be"}],"directories":{}},"0.0.2":{"name":"systemd","version":"0.0.2","main":"./lib/systemd.js","description":"systemd socket activation support for Node.js","keywords":["systemd"],"url":"http://github.com/rubenv/node-systemd","repositories":[{"type":"git","url":"git://github.com/rubenv/node-systemd.git"}],"author":{"name":"Ruben Vermeersch","email":"ruben@savanne.be"},"contributors":[],"licenses":["MIT"],"dependencies":{},"engines":{"node":">=0.4.0 <0.5.0"},"scripts":{"install":"node-waf configure build"},"_npmUser":{"name":"rubenv","email":"ruben@savanne.be"},"_id":"systemd@0.0.2","devDependencies":{},"_engineSupported":true,"_npmVersion":"1.0.93","_nodeVersion":"v0.4.12","_defaultsLoaded":true,"dist":{"shasum":"19cf37722216429bb75ab4ffa8d49d597ceb48b6","tarball":"https://registry.npmjs.org/systemd/-/systemd-0.0.2.tgz","integrity":"sha512-nZKTJxdsOjUDZTq5JEi1c/CrpR3J7IDk1QtwPgjbaPZVVPn0Qzwzjm8MQguj+WjvGTCsovjAo0f5Rh+pAKeW5Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDI4PjF9WUCWEcmEOVE7RnrZFlL9NeMZOAFOscTpsaGXQIgWTkVo0xWroHlH/FLMNVRFcujm3H79UO+AgRbcgG5VbQ="}]},"maintainers":[{"name":"rubenv","email":"ruben@savanne.be"}],"directories":{}},"0.2.0":{"name":"systemd","version":"0.2.0","main":"./lib/systemd.js","description":"systemd socket activation support for Node.js","keywords":["systemd"],"url":"http://github.com/rubenv/node-systemd","repositories":[{"type":"git","url":"git://github.com/rubenv/node-systemd.git"}],"author":{"name":"Ruben Vermeersch","email":"ruben@savanne.be"},"contributors":[],"licenses":["MIT"],"dependencies":{},"engines":{"node":">=0.6.11 <0.8.0"},"_npmUser":{"name":"rubenv","email":"ruben@savanne.be"},"_id":"systemd@0.2.0","devDependencies":{},"_engineSupported":false,"_npmVersion":"1.0.93","_nodeVersion":"v0.4.12","_defaultsLoaded":true,"dist":{"shasum":"99d71cc1c4184ada0de27efe114e30f89feded9f","tarball":"https://registry.npmjs.org/systemd/-/systemd-0.2.0.tgz","integrity":"sha512-ieE+rM95AsZySrdx/XvXjElIKtgT6fnyrMgV59IHGM8am46QvJUSViotc4FiGO5gGtSlKzWR+FjHWe5xbgKwdQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC3SGH+XRcHqsvpoaNYMr8JOciUBKnjo7AXqlU9GRM3hQIgOgjrHdjnnorjLIp3ZI5b0gdNu8mavv2rIg4YNemMMfU="}]},"maintainers":[{"name":"rubenv","email":"ruben@savanne.be"}],"directories":{}},"0.2.1":{"name":"systemd","version":"0.2.1","main":"./lib/systemd.js","description":"systemd socket activation support for Node.js","keywords":["systemd"],"url":"http://github.com/rubenv/node-systemd","repositories":[{"type":"git","url":"git://github.com/rubenv/node-systemd.git"}],"author":{"name":"Ruben Vermeersch","email":"ruben@savanne.be"},"contributors":[],"licenses":["MIT"],"dependencies":{},"engines":{"node":">=0.6.11 <0.9.0"},"_id":"systemd@0.2.1","dist":{"shasum":"f84d2b3c8fa5befff7a9567141fb6263e379c99c","tarball":"https://registry.npmjs.org/systemd/-/systemd-0.2.1.tgz","integrity":"sha512-UWCbGn2sIGwtheYjgiv+OK+X2+q++dAtkgbD+36G3bLBX75W0ziET9OaD3YqyYsVBOtXUGyqlkvJYSt3VWCzdw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICJJn1IqefpqsqfZ5guUgpMev8ItC2UFWoZ9YYYdfkdRAiEAhbTyxhV9kG94W1D0k+Ir+YYHT+dWHBTjsMFrSHg5ynk="}]},"maintainers":[{"name":"rubenv","email":"ruben@savanne.be"}],"directories":{}},"0.2.2":{"name":"systemd","version":"0.2.2","main":"./lib/systemd.js","description":"systemd socket activation support for Node.js","keywords":["systemd"],"url":"http://github.com/rubenv/node-systemd","repositories":[{"type":"git","url":"git://github.com/rubenv/node-systemd.git"}],"author":{"name":"Ruben Vermeersch","email":"ruben@savanne.be"},"contributors":[],"licenses":["MIT"],"dependencies":{},"engines":{"node":">=0.6.11 <0.9.0"},"_id":"systemd@0.2.2","dist":{"shasum":"062755126d36a9cddf409791b0f1a168a8a677da","tarball":"https://registry.npmjs.org/systemd/-/systemd-0.2.2.tgz","integrity":"sha512-0HqdwD3mkkv4lGfYQMMjNXmFzpFR/T6KZSKbeWIzeQmsf6PcxtMY/ONdjfPh6RtSFfyh5PEwibgGNXRtGTwLbw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH+2cEW977C0TcALNmYenLl/lvWSJyJ82kya105nKGpVAiEA36QmiUw8RFGb+73v+buS1JdSqGkRKCqhCQ28dEyyP4I="}]},"maintainers":[{"name":"rubenv","email":"ruben@savanne.be"}],"directories":{}},"0.2.3":{"name":"systemd","version":"0.2.3","main":"./lib/systemd.js","description":"systemd socket activation support for Node.js","keywords":["systemd"],"url":"http://github.com/rubenv/node-systemd","repositories":[{"type":"git","url":"git://github.com/rubenv/node-systemd.git"}],"bugs":{"url":"https://github.com/rubenv/node-systemd/issues"},"author":{"name":"Ruben Vermeersch","email":"ruben@savanne.be","url":"http://savanne.be/"},"contributors":[],"licenses":[{"type":"MIT","url":"https://github.com/rubenv/node-systemd/blob/master/LICENSE"}],"dependencies":{},"engines":{"node":">=0.6.11 <0.11.0"},"devDependencies":{"grunt":"~0.4.0","grunt-contrib-jshint":"~0.2.0"},"_id":"systemd@0.2.3","dist":{"shasum":"42105c7c919ce9a79f8db01d80adf9fbf84dbbf4","tarball":"https://registry.npmjs.org/systemd/-/systemd-0.2.3.tgz","integrity":"sha512-/Uhy6oqguOPEWUQg53iQHXoGOPwib2QJrssZKUfJAvibRm+KxUZG+NnBxo1psBnGs2httv+z3cwJACUwnpquCQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDEkmix4AzPaxXJDCaONEzAuetmzek9r77XA4o+OZXh1AiEAmTYztE6/4kpXswi7g9aAyobxDtGwpScVtAazxUQetRs="}]},"_from":".","_npmVersion":"1.2.17","_npmUser":{"name":"rubenv","email":"ruben@savanne.be"},"maintainers":[{"name":"rubenv","email":"ruben@savanne.be"}],"directories":{}},"0.2.4":{"name":"systemd","version":"0.2.4","main":"./lib/systemd.js","description":"systemd socket activation support for Node.js","keywords":["systemd"],"url":"http://github.com/rubenv/node-systemd","repositories":[{"type":"git","url":"git://github.com/rubenv/node-systemd.git"}],"bugs":{"url":"https://github.com/rubenv/node-systemd/issues"},"author":{"name":"Ruben Vermeersch","email":"ruben@savanne.be","url":"http://savanne.be/"},"contributors":[],"licenses":[{"type":"MIT","url":"https://github.com/rubenv/node-systemd/blob/master/LICENSE"}],"dependencies":{},"engines":{"node":">=0.6.11 <0.11.0"},"devDependencies":{"grunt":"~0.4.0","grunt-contrib-jshint":"~0.2.0"},"_id":"systemd@0.2.4","dist":{"shasum":"616b9030ac3757ac1fdd2cfc274fe3d9fbc97356","tarball":"https://registry.npmjs.org/systemd/-/systemd-0.2.4.tgz","integrity":"sha512-9eDA9JuMx7LaKO0dquD54BYmQzduWOG6934F1Nc51UA0bFKGsSNrk7hiXknQ2EeyovMnh8fAqPUL37Sa7SaKsA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGMO3YoEj5ymOZqOPg01JC8Y6WKINNfLvdaEkxMaVLR1AiEAi/TXupD662qKKWuBWJiebQdM5EDPY6m58zl1Qidjrgg="}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"rubenv","email":"ruben@savanne.be"},"maintainers":[{"name":"rubenv","email":"ruben@savanne.be"}],"directories":{}},"0.2.5":{"name":"systemd","version":"0.2.5","main":"./lib/systemd.js","description":"systemd socket activation support for Node.js","keywords":["systemd"],"url":"http://github.com/rubenv/node-systemd","repositories":[{"type":"git","url":"git://github.com/rubenv/node-systemd.git"}],"bugs":{"url":"https://github.com/rubenv/node-systemd/issues"},"author":{"name":"Ruben Vermeersch","email":"ruben@savanne.be","url":"http://savanne.be/"},"contributors":[],"licenses":[{"type":"MIT","url":"https://github.com/rubenv/node-systemd/blob/master/LICENSE"}],"dependencies":{},"engines":{"node":">=0.6.11 <0.11.0"},"devDependencies":{"grunt":"~0.4.0","grunt-contrib-jshint":"~0.2.0","grunt-release":"~0.5.1"},"repository":"[Circular]","_id":"systemd@0.2.5","dist":{"shasum":"c77bb2db40c07797bfdda2ffc9614ee0d7d42140","tarball":"https://registry.npmjs.org/systemd/-/systemd-0.2.5.tgz","integrity":"sha512-u69wwX6CtSskH4Zxmh8XbNLjP0Bs/UJdr3dZh9ddHQgP8kGmVN5u7N24MUNPrYXC3eGJ8mVazaPBrlNOOopOSA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDV6Y6MrWO9xj0htpLEu3LG6vEZ2VbqQQ0MsTKevdFJcAiEA0CxpiU6WkrfT5oo6L/C2myb1vBeiV1e5P14FGDbbSA4="}]},"_from":".","_npmVersion":"1.3.2","_npmUser":{"name":"rubenv","email":"ruben@savanne.be"},"maintainers":[{"name":"rubenv","email":"ruben@savanne.be"}],"directories":{}},"0.2.6":{"name":"systemd","version":"0.2.6","main":"./lib/systemd.js","description":"systemd socket activation support for Node.js","keywords":["systemd"],"url":"http://github.com/rubenv/node-systemd","repository":{"type":"git","url":"git://github.com/rubenv/node-systemd.git"},"bugs":{"url":"https://github.com/rubenv/node-systemd/issues"},"author":{"name":"Ruben Vermeersch","email":"ruben@savanne.be","url":"http://savanne.be/"},"contributors":[],"licenses":[{"type":"MIT","url":"https://github.com/rubenv/node-systemd/blob/master/LICENSE"}],"dependencies":{},"engines":{"node":">=0.6.11 <0.11.0"},"devDependencies":{"grunt":"~0.4.0","grunt-contrib-jshint":"~0.2.0","grunt-release":"~0.5.1"},"homepage":"https://github.com/rubenv/node-systemd","_id":"systemd@0.2.6","dist":{"shasum":"f6ba807969183b7bbaf2b823f7e86b4bf93cb367","tarball":"https://registry.npmjs.org/systemd/-/systemd-0.2.6.tgz","integrity":"sha512-dlIo5FIRaQA3aBcN9EkhAoUw6OyzVH5gst78UShGRtJ4Mk7yk30hg6HGQyigAS82IzA3NiiV7ok3q/zePgh4RQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCQNbFRGkvaSUr27Y1a9bb1liARmHyRdgz4T53YrD2tegIgIPu7bldEj8ySMd7uu9hC4wJvGTMxcVqIOCmf/Rm/b8E="}]},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"rubenv","email":"ruben@savanne.be"},"maintainers":[{"name":"rubenv","email":"ruben@savanne.be"}],"directories":{}},"0.3.0":{"name":"systemd","version":"0.3.0","main":"./lib/systemd.js","description":"systemd socket activation support for Node.js","keywords":["systemd"],"url":"http://github.com/rubenv/node-systemd","repository":{"type":"git","url":"git://github.com/rubenv/node-systemd.git"},"bugs":{"url":"https://github.com/rubenv/node-systemd/issues"},"author":{"name":"Ruben Vermeersch","email":"ruben@rocketeer.be","url":"http://rocketeer.be/"},"contributors":[],"licenses":[{"type":"MIT","url":"https://github.com/rubenv/node-systemd/blob/master/LICENSE"}],"engines":{"node":">=0.6.11 <0.11.0"},"devDependencies":{"grunt":"~0.4.0","grunt-contrib-jshint":"~0.8.0","grunt-release":"~0.7.0"},"gitHead":"2ece0ebff8bd718c61265f8393fee493c604394b","homepage":"https://github.com/rubenv/node-systemd#readme","_id":"systemd@0.3.0","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"rubenv","email":"ruben@rocketeer.be"},"maintainers":[{"name":"rubenv","email":"ruben@savanne.be"}],"dist":{"integrity":"sha512-31JKcYTb8a7adgqdMinJ0FCzbuYNpginYkNjCMPCktnwtu2fNfD5aVchtMTTQhYOHZYfdwR+C+q81SAI4y5B8g==","shasum":"ee74a61ca50a89f1be9dec3b7cfa912b79e2b310","tarball":"https://registry.npmjs.org/systemd/-/systemd-0.3.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDY+t5O9PJH/YGfTsy0ub0nWv0elVZo4IX54zyamuBcXwIgOvGURGMFhFhphWU6Jzq6WXYdNXgC1auwgjkHh79cv7c="}]},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/systemd-0.3.0.tgz_1517307867118_0.8825497862417251"},"directories":{}},"0.3.1":{"name":"systemd","version":"0.3.1","main":"./lib/systemd.js","description":"systemd socket activation support for Node.js","keywords":["systemd"],"url":"http://github.com/rubenv/node-systemd","repository":{"type":"git","url":"git://github.com/rubenv/node-systemd.git"},"bugs":{"url":"https://github.com/rubenv/node-systemd/issues"},"author":{"name":"Ruben Vermeersch","email":"ruben@rocketeer.be","url":"http://rocketeer.be/"},"contributors":[],"licenses":[{"type":"MIT","url":"https://github.com/rubenv/node-systemd/blob/master/LICENSE"}],"engines":{"node":">=0.6.11 <0.11.0"},"devDependencies":{"grunt":"~0.4.0","grunt-contrib-jshint":"~0.8.0","grunt-release":"~0.7.0"},"gitHead":"01580e5453492c0a6e0f6ea004cbeee30f6bc08f","homepage":"https://github.com/rubenv/node-systemd#readme","_id":"systemd@0.3.1","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"rubenv","email":"ruben@rocketeer.be"},"maintainers":[{"name":"rubenv","email":"ruben@savanne.be"}],"dist":{"integrity":"sha512-xsspyB6WkvYSGJjDNyrDMWYuzwn4HtxKf1GWlnbgy3uy4J9nKzOmyreI4oGekP+icWlmp7EPgYLFEvqeXCUszg==","shasum":"63cbdb0f3029bad648770869838aebc26542a8c3","tarball":"https://registry.npmjs.org/systemd/-/systemd-0.3.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDk469UcK9RXJ492lAXPypHSSL18Tx2/DHC5gEhOKVHAwIhAOWcjmcaEbpIazF9htM5/UcpQHHBCZu1YK8ggu4GVw/q"}]},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/systemd-0.3.1.tgz_1517380404669_0.09832320222631097"},"directories":{}},"0.4.0":{"name":"systemd","version":"0.4.0","main":"./lib/systemd.js","description":"systemd socket activation support for Node.js","keywords":["systemd"],"url":"http://github.com/rubenv/node-systemd","repository":{"type":"git","url":"git://github.com/rubenv/node-systemd.git"},"bugs":{"url":"https://github.com/rubenv/node-systemd/issues"},"author":{"name":"Ruben Vermeersch","email":"ruben@rocketeer.be","url":"http://rocketeer.be/"},"contributors":[],"licenses":[{"type":"MIT","url":"https://github.com/rubenv/node-systemd/blob/master/LICENSE"}],"engines":{"node":">=0.6.11 <0.11.0"},"devDependencies":{"grunt":"~0.4.0","grunt-contrib-jshint":"~0.8.0","grunt-release":"~0.7.0"},"gitHead":"556bf8d03105eea72940700bf9781e8729ef4608","homepage":"https://github.com/rubenv/node-systemd#readme","_id":"systemd@0.4.0","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","_npmUser":{"name":"rubenv","email":"ruben@rocketeer.be"},"dist":{"integrity":"sha512-nnONobgRcmkhVShdCZDZuhX0h9LNe/rV8/rq105t2HY/alpFFdbaYULQcYrNyacmtAOWYhyVpiEa72YNqwNUnA==","shasum":"1e923b5616af0fd6f528ce6a052129d73cfd8953","tarball":"https://registry.npmjs.org/systemd/-/systemd-0.4.0.tgz","fileCount":10,"unpackedSize":9270,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfP5k1CRA9TVsSAnZWagAAw7kP/3+bITYdGZbCjXc8yTvF\n31+6PcC1k8/SDWpRDGUJ/1SptNrFa+wQrSFVx5uF3d93E3Ntm94JKs9BYdiG\nMn9LUMC748mMetLwi4GQ7yOWgLwGyLvnNBj+9tJmcXQ6Ovh7kKSQZKzYUbRL\no6yHc+eIDV8Kdaq1PRvShMetjIyYg9cUziSh9ShkWrCeYWlxLZlkz3uQPEBL\nOMf/WtdnMGplzJNx56Jwsv8RhJQsQdDIbAU0ltbKVA1SlWQFJldvOFrc+EoJ\npw7fhmVphAo1OF7TMLSFv9QXnn82A2eVQD43ZUyfyZ2Iomt+KsqUA2h4tFUW\nyuzyIyWUmcsvS8My0CKMZ6XZ2UXI7lsS5hRUfneogzueo99aVjG8vKBCR55O\nsPirVH9bOCQQnHl3a86kWG15qk9nADA3M/XEFhsGDONf6nU+QxvEVz/dW2vz\nl4zp5Rvq7Oeoq3e3aVZA+WkG8TvzCpjLgooZzX97/CYdpFQdcQ8MY9kgA7JO\nd434tX8vCC/iFB7vCJs95Y67EKnEOzN5+db2SJICmPvBFpc8JR6wGSJ2ln6I\nxbn1cdGvHsZBLCpbL/5F0i83ilPRVvT/8QIiIAF6qfFlFuzEbbF9cSHdH83B\nMUbBRyyHgmi9Q3VRSS300fei0blKFVYloaYABgW0fNYP3RczxeJu9m4mngAB\n9uFz\r\n=wWin\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDsHj+njXeyzdmJ2WMTqLinG6+amw14pi4fSmL+iDP6MgIhAPAHsHx0gdIxgO4WVeCPryA1cxMEWcFWkGDTuJYv90aG"}]},"maintainers":[{"name":"rubenv","email":"ruben@savanne.be"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/systemd_0.4.0_1598003509602_0.4536475581491106"},"_hasShrinkwrap":false}},"maintainers":[{"name":"rubenv","email":"ruben@savanne.be"}],"time":{"modified":"2022-06-27T03:20:06.987Z","created":"2011-10-16T09:44:58.892Z","0.0.1":"2011-10-16T09:45:00.465Z","0.0.2":"2011-10-16T15:08:20.139Z","0.2.0":"2012-03-31T23:12:49.697Z","0.2.1":"2012-07-27T11:57:51.138Z","0.2.2":"2012-11-08T08:48:02.640Z","0.2.3":"2013-05-15T13:32:16.392Z","0.2.4":"2013-05-21T15:11:10.372Z","0.2.5":"2013-09-16T13:17:42.620Z","0.2.6":"2013-11-22T15:34:30.748Z","0.3.0":"2018-01-30T10:24:28.075Z","0.3.1":"2018-01-31T06:33:25.542Z","0.4.0":"2020-08-21T09:51:49.703Z"},"author":{"name":"Ruben Vermeersch","email":"ruben@rocketeer.be","url":"http://rocketeer.be/"},"users":{"fgribreau":true,"bmedicke":true,"shujianbu":true,"francisbrito":true,"lvpeng101":true,"elevenlui":true},"repository":{"type":"git","url":"git://github.com/rubenv/node-systemd.git"},"readme":"# systemd for Node.js\n\n  Adds support for running node.js as a socket-activated service under systemd.\n\n  More info on the how and why: https://rocketeer.be/articles/deploying-node-js-with-systemd/\n\n  For more background on socket activation: http://0pointer.de/blog/projects/socket-activation.html\n\n  Obviously, this will only work on Linux distributions with systemd (such as Fedora).\n\n## Usage\n\n  You can install the latest version via npm:\n\n```sh\n$ npm install systemd\n```\n\n  Require the systemd module and pass 'systemd' as a parameter to listen():\n\n```javascript\nrequire('systemd');\n\nvar http = require('http');\nhttp.createServer(function (req, res) {\n    res.writeHead(200, {'Content-Type': 'text/plain'});\n    res.end('Hello World\\n');\n}).listen('systemd');\n```\n\n  Install a systemd socket file (e.g.: /etc/systemd/system/node-hello.socket):\n\n```ini\n[Socket]\nListenStream=1337\n\n[Install]\nWantedBy=sockets.target\n```\n\n  Install a systemd service file (e.g.: /etc/systemd/system/node-hello.service):\n\n```ini\n# Adjust according to man 5 systemd.exec\n\n[Service]\nExecStart=/path/to/bin/node /path/to/hello.js\nStandardOutput=syslog\nUser=nobody\nGroup=nobody\n```\n\n  Be sure to substitute the paths to node and your script!\n\n  * &#x26A0; __Run node directly__ or make sure your startup helper scripts\n    can hand over the sockets. `npm start` [probably won't work][issue-11].\n\n  [issue-11]: https://github.com/rubenv/node-systemd/issues/11\n\n  Reload the systemd daemon so that it picks up the new unit files:\n\n```sh\n$ systemctl --system daemon-reload\n```\n\n  Enable and start the socket:\n\n```sh\n$ systemctl enable node-hello.socket\n$ systemctl start node-hello.socket\n```\n\n  Check the status of the socket:\n\n```sh\n$ systemctl status node-hello.socket\nnode-hello.socket\n      Loaded: loaded (/etc/systemd/system/node-hello.socket)\n      Active: active (listening) since Sat, 15 Oct 2011 20:27:47 +0200; 2s ago\n      CGroup: name=systemd:/system/node-hello.socket\n```\n\n  Great, it's running!\n\n  Check the status of the service, not running yet:\n\n```sh\n$ systemctl status node-hello.service\nnode-hello.service\n      Loaded: loaded (/etc/systemd/system/node-hello.service)\n      Active: inactive (dead)\n      CGroup: name=systemd:/system/node-hello.service\n```\n\n  Do a request to your service:\n\n```sh\n$ curl -i http://localhost:1337/\nHTTP/1.1 200 OK\nContent-Type: text/plain\nConnection: keep-alive\nTransfer-Encoding: chunked\n\nHello World\n```\n\n  Check again, now it will be running:\n\n```sh\n$ systemctl status node-hello.service\nnode-hello.service\n      Loaded: loaded (/etc/systemd/system/node-hello.service)\n      Active: active (running) since Sat, 15 Oct 2011 20:32:10 +0200; 38s ago\n    Main PID: 1159 (node)\n      CGroup: name=systemd:/system/node-hello.service\n              └ 1159 /path/to/bin/node /path/to/hello.js\n```\n\n## Only listen to systemd when running under systemd\n\n  You can make the systemd usage conditional by checking for the systemd environment variable:\n\n```javascript\nvar http = require('http');\n\nrequire('systemd');\n\nvar port = process.env.LISTEN_PID > 0 ? 'systemd' : 1337;\nhttp.createServer(function (req, res) {\n    res.writeHead(200, {'Content-Type': 'text/plain'});\n    res.end('Hello World\\n');\n}).listen(port);\n```\n\n  This makes it possible to run the script stand-alone in development, yet use systemd when started through systemd.\n\n## Contributing\n\n  A jshint file is included to check code style.\n\n  Before submitting a pull request, please check your code. For convenience, I've also added a grunt file.\n\n  Install the dev dependencies:\n\n```sh\n$ npm install --dev\n```\n\n  Install the grunt cli if you haven't already done so:\n\n```sh\n$ npm -g install grunt-cli\n```\n\n  Run it:\n\n```sh\n$ grunt\n```\n\n\n## License\n\n    (The MIT License)\n\n    Copyright (C) 2011-2014 by Ruben Vermeersch <ruben@rocketeer.be>\n\n    Permission is hereby granted, free of charge, to any person obtaining a copy\n    of this software and associated documentation files (the \"Software\"), to deal\n    in the Software without restriction, including without limitation the rights\n    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n    copies of the Software, and to permit persons to whom the Software is\n    furnished to do so, subject to the following conditions:\n\n    The above copyright notice and this permission notice shall be included in\n    all copies or substantial portions of the Software.\n\n    THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n    THE SOFTWARE.\n\n","homepage":"https://github.com/rubenv/node-systemd#readme","keywords":["systemd"],"contributors":[],"bugs":{"url":"https://github.com/rubenv/node-systemd/issues"},"readmeFilename":"README.md"}