18 lines
341 B
INI
18 lines
341 B
INI
[Unit]
|
|
Description=FastDFS storaged service
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=forking
|
|
PIDFile=/opt/fastcfs/data/fdfs_storaged.pid
|
|
ExecStart=/usr/bin/fdfs_storaged /etc/fdfs/storage.conf restart
|
|
|
|
# No artificial start/stop timeout
|
|
TimeoutSec=0
|
|
|
|
# Disable OOM kill by Linux kernel
|
|
OOMScoreAdjust=-1000
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|