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