24 lines
767 B
Desktop File
24 lines
767 B
Desktop File
# 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=http
|
|
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
|
|
RuntimeDirectory=clientinfo
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|