1 Star 0 Fork 292

powerdream / go-fastdfs

forked from sjqzhang / go-fastdfs 
Gitee — Enterprise-level DevOps R&D management platform
Join Gitee
Clone or download
gofastdfs.service 407 Bytes
Copy Edit Web IDE Raw Blame History
sjqzhang authored 2019-04-01 11:16 . gofastdfs.service modify
[Unit]
Description=gofastdfs service
Wants=network.target
[Service]
PIDFile=/home/gofastdfs/conf/app.pid
Environment="GO_FASTDFS_DIR=/home/gofastdfs" #/home/gofastdfs 修改成你的安装路径
ExecStart=/home/gofastdfs/fileserver $GO_FASTDFS_DIR
ExecReload=/bin/kill -s HUP $MAINPID
ExecStop=/bin/kill -s QUIT $MAINPID
PrivateTmp=true
Restart=always
[Install]
WantedBy=multi-user.target

Comment ( 0 )

Sign in for post a comment

Go
1
https://gitee.com/powerdream/go-fastdfs.git
git@gitee.com:powerdream/go-fastdfs.git
powerdream
go-fastdfs
go-fastdfs
master

Search

122604 9befe709 551147 122411 94cd1624 551147