db-move: moved seahorse from [testing] to [extra] (x86_64)
[arch-packages.git] / prometheus / repos / extra-x86_64 / prometheus.service
blob51452c08647523cef7535964a3a1046fed6a30c3
1 [Unit]
2 Description=Prometheus service
3 Requires=network-online.target
4 After=network-online.target
6 [Service]
7 User=prometheus
8 Group=prometheus
9 Restart=on-failure
10 WorkingDirectory=/usr/share/prometheus
11 EnvironmentFile=-/etc/conf.d/prometheus
12 ExecStart=/usr/bin/prometheus --config.file=/etc/prometheus/prometheus.yml --storage.tsdb.path=/var/lib/prometheus/data $PROMETHEUS_ARGS
13 ExecReload=/bin/kill -HUP $MAINPID
14 LimitNOFILE=65535
15 NoNewPrivileges=true
16 ProtectHome=true
17 ProtectSystem=full
18 ProtectHostname=true
19 ProtectControlGroups=true
20 ProtectKernelModules=true
21 ProtectKernelTunables=true
22 LockPersonality=true
23 RestrictRealtime=yes
24 RestrictNamespaces=yes
25 MemoryDenyWriteExecute=yes
26 PrivateDevices=yes
27 CapabilityBoundingSet=
29 [Install]
30 WantedBy=multi-user.target