Increase MemLimit of resourced
[platform/core/system/resourced.git] / src / resourced / resourced.service
1 [Unit]
2 Description=Resource management daemon
3 # resourced monitors AUL (lauchpad) d-bus signals to learn about existence
4 # and the state of applications.  Consequently, it has to start before
5 # launchpad to have knowledge of all applications.  The Before= line below
6 # refers to user-sessions, because tlm, and consequently user@.service
7 # starts after user-sessions are allowed.
8 Before=systemd-user-sessions.service
9 DefaultDependencies=no
10 Requires=resourced.socket
11
12 [Service]
13 Type=simple
14 SmackProcessLabel=System
15 ExecStart=/usr/bin/resourced
16 MemoryLimit=50M
17 Restart=on-failure
18 RestartSec=0
19
20 [Install]
21 WantedBy=multi-user.target