File: service

package info (click to toggle)
nutcracker 0.5.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 3,192 kB
  • sloc: ansic: 15,221; sh: 5,284; python: 1,230; php: 300; makefile: 130
file content (23 lines) | stat: -rw-r--r-- 477 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
[Unit]
Description=nutcracker proxy for memcached and Redis
Documentation=man:nutcracker
After=local-fs.target
After=network.target
ConditionPathExists=/etc/nutcracker/nutcracker.yml

[Service]
Type=simple
EnvironmentFile=-/etc/default/nutcracker
ExecStart=/usr/sbin/nutcracker $DAEMON_OPTS
User=nutcracker
Group=nutcracker

MountFlags=slave
DevicePolicy=closed
PrivateDevices=true
PrivateTmp=true
ProtectSystem=full
ProtectHome=read-only

[Install]
WantedBy=multi-user.target