Debian 9: systemd unit file typo
See original GitHub issueHi folks:
The current systemd
unit file has a typo: RequireMountsFor
should be RequiresMountsFor
:
Current
# /lib/systemd/system/graphite-api.service [Unit] Description=Graphite-API service Requires=graphite-api.socket RequireMountsFor=/var/log/graphite-api /var/lib/graphite/whisper /var/lib/graphite-api ConditionFileIsExecutable=/usr/bin/gunicorn3 ConditionPathExists=/etc/graphite-api.yaml ConditionPathExists=/usr/lib/python3/dist-packages/graphite_api/app.py
[Service] ExecStart=/usr/bin/gunicorn3 --name=graphite-api graphite_api.app:app Restart=on-failure User=_graphite Group=_graphite ExecReload=/bin/kill -s HUP $MAINPID ExecStop=/bin/kill -s TERM $MAINPID PrivateTmp=true
[Install] WantedBy=multi-user.target
Change
[Unit] … RequiresMountsFor=… …
Let me know if you need any more details!
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (3 by maintainers)
Top GitHub Comments
Thanks @vincentbernat and @mattayes! I’ll close this issue here. 👍
Thanks for the report. I’ll fix that for Debian Sid but it’s unlikely a fix will be pushed to Debian Stretch. If you rely on this directive, you’ll have to override it in
/etc/systemd/system/graphite-api.service.d/require.conf
.