File: moosefs-cgiserv.service

package info (click to toggle)
moosefs 3.0.117-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 7,220 kB
  • sloc: ansic: 93,900; sh: 5,021; makefile: 632; javascript: 543
file content (24 lines) | stat: -rw-r--r-- 540 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
[Unit]
Description=MooseFS CGI server daemon
Documentation=man:mfscgiserv
After=network.target

[Service]
Environment=BIND_HOST=0.0.0.0
Environment=BIND_PORT=9425
Environment=ROOT_PATH=/usr/share/moosefs-cgi
EnvironmentFile=-/etc/default/%p
ExecStart=/usr/sbin/mfscgiserv -f -H ${BIND_HOST} -P ${BIND_PORT} -R ${ROOT_PATH}
ExecReload=/bin/kill -HUP $MAINPID
Restart=on-abort
User=mfs
Group=nogroup

NoNewPrivileges=true
PrivateDevices=true
PrivateTmp=true
ProtectSystem=full
ProtectKernelTunables=true

[Install]
WantedBy=multi-user.target