examples: add systemd socket and service files
commit6452e02d910a52c9c1206ecec800b910609da405
authorEric Wong <e@80x24.org>
Tue, 17 Nov 2015 01:55:18 +0000 (17 01:55 +0000)
committerEric Wong <e@80x24.org>
Tue, 17 Nov 2015 21:41:10 +0000 (17 21:41 +0000)
tree4952d91f675d6ddf6d646180fcf93ea1c3521da4
parent2cf1b3df5d58c716ada873f0ae7803142e3da362
examples: add systemd socket and service files

Since we have init scripts, we ought to have the equivalent for
systemd users who cannot upgrade via the normal SIGUSR2 mechanism;
but can use multiple services: "unicorn@1" + h"unicorn@2" to
accomplish the same thing.

Based on examples by Christos Trochalakis <yatiohi@ideopolis.gr>

ref:
http://bogomips.org/unicorn-public/20150708130821.GA1361@luke.ws.skroutz.gr/
examples/unicorn.socket [new file with mode: 0644]
examples/unicorn@.service [new file with mode: 0644]