This repository has been archived on 2020-08-09. You can view files and clone it, but cannot push or open issues or pull requests.
2020-05-29 18:04:06 +00:00
|
|
|
[Service]
|
|
|
|
ExecStart=
|
2020-05-31 09:59:12 +00:00
|
|
|
ExecStart=/usr/sbin/grafana-server --config=/etc/grafana/grafana.ini --pidfile=/run/grafana/grafana-server.pid --packaging=deb cfg:default.paths.logs=/var/log/grafana cfg:default.paths.data=/tmp/data cfg:default.paths.plugins=/tmp/plugins cfg:default.paths.provisioning=/tmp/provision
|
2020-05-29 18:04:06 +00:00
|
|
|
# TODO: Store or provision a set of plugins, prefferably the latter
|
|
|
|
|
|
|
|
ProtectSystem=strict
|
|
|
|
PrivateUsers=true
|
|
|
|
NoNewPrivileges=yes
|
|
|
|
TemporaryFileSystem=/:ro
|
|
|
|
BindReadOnlyPaths=/etc/grafana /usr /lib /lib64
|
2020-05-31 09:59:12 +00:00
|
|
|
LogsDirectory=grafana
|
|
|
|
RuntimeDirectory=grafana
|
2020-05-29 18:04:06 +00:00
|
|
|
ProtectControlGroups=yes
|
|
|
|
ProtectKernelModules=yes
|
|
|
|
ProtectKernelTunables=yes
|
|
|
|
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6 AF_NETLINK
|
|
|
|
RestrictNamespaces=yes
|
|
|
|
RestrictRealtime=yes
|
|
|
|
RestrictSUIDSGID=yes
|
|
|
|
MemoryDenyWriteExecute=yes
|
|
|
|
LockPersonality=yes
|
|
|
|
PrivateTmp=yes
|
|
|
|
PrivateDevices=yes
|