initial commit before refactor switch
This commit is contained in:
22
_extras/clientinfo.service
Normal file
22
_extras/clientinfo.service
Normal file
@@ -0,0 +1,22 @@
|
||||
# This file goes in /etc/systemd/system/.
|
||||
# DO NOT PLACE IT IN /usr/lib/systemd/system/ unless you are a packager for a Linux distribution.
|
||||
# After it's in place (or updated), run:
|
||||
# systemctl daemon-reload
|
||||
[Unit]
|
||||
Description=Return Client Request Information
|
||||
|
||||
[Service]
|
||||
Type=notify
|
||||
# These may also be "httpd", "nginx", etc.
|
||||
User=http
|
||||
Group=htttp
|
||||
Restart=on-failure
|
||||
RestartSec=10
|
||||
# Not required, but you may create this file and specify the associated commandline argument env vars.
|
||||
# This allows for easily changing the listen URI, debug mode, etc. without changing the systemd unit.
|
||||
# See clientinfo.env for an example.
|
||||
EnvironmentFile=-/etc/default/clientinfo
|
||||
ExecStart=/usr/local/bin/clientinfo
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user