This unit is provided by:
Options
-
[Install]
-
WantedBy=multi-user.target
-
-
[Service]
-
ExecReload=/bin/kill -s HUP $MAINPID
-
ExecStart=/usr/bin/gunicorn3 --name=graphite-api graphite_api.app:app
-
ExecStop=/bin/kill -s TERM $MAINPID
-
Group=_graphite
-
PrivateTmp=yes
-
Restart=on-failure
-
User=_graphite
-
-
[Unit]
-
ConditionFileIsExecutable=/usr/bin/gunicorn3
-
ConditionPathExists=/etc/graphite-api.yaml /usr/lib/python3/dist-packages/graphite_api/app.py
-
Description=Graphite-API service
-
Requires=graphite-api.socket
-
RequiresMountsFor=/var/log/graphite-api /var/lib/graphite/whisper /var/lib/graphite-api
-
Additionnal notes
Nothing here.