mirror of
https://gitee.com/sjqzhang/go-fastdfs.git
synced 2024-11-29 17:57:41 +08:00
优化gofastdfs.service
This commit is contained in:
parent
08af0d309a
commit
41f004ba8b
@ -4,6 +4,7 @@ Wants=network.target
|
||||
|
||||
[Service]
|
||||
PIDFile=/home/gofastdfs/conf/app.pid
|
||||
WorkingDirectory=/home/gofastdfs
|
||||
Environment="GO_FASTDFS_DIR=/home/gofastdfs" #/home/gofastdfs 修改成你的安装路径
|
||||
ExecStart=/home/gofastdfs/fileserver $GO_FASTDFS_DIR
|
||||
ExecReload=/bin/kill -s HUP $MAINPID
|
||||
|
Loading…
Reference in New Issue
Block a user