blob: 0239fc8e8062b506e39ee57272e9d7726a26625c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
[Unit]
Description=Real time performance monitoring
After=network.target httpd.service squid.service nfs-server.service mysqld.service mysql.service named.service postfix.service
[Service]
Type=simple
User=netdata
Group=netdata
ExecStart=@sbindir_POST@/netdata -D
# The minimum netdata Out-Of-Memory (OOM) score.
# netdata (via [global].OOM score in netdata.conf) can only increase the value set here.
# To decrease it, set the minimum here and set the same or a higher value in netdata.conf.
# Valid values: -1000 (never kill netdata) to 1000 (always kill netdata).
OOMScoreAdjust=0
# saving a big db on slow disks may need some time
TimeoutStopSec=60
# restart netdata if it crashes
Restart=on-failure
RestartSec=30
[Install]
WantedBy=multi-user.target
|