修改RPM程序安装路径
支持日志定时删除
This commit is contained in:
@@ -3,8 +3,8 @@ Description=Certificate Signing Engine
|
||||
After=redis.service
|
||||
|
||||
[Service]
|
||||
WorkingDirectory=/home/tsg/certstore
|
||||
ExecStart=/home/tsg/certstore/certstore
|
||||
WorkingDirectory=/opt/tsg/certstore
|
||||
ExecStart=/opt/tsg/certstore/bin/certstore
|
||||
Restart=always
|
||||
RestartSec=5s
|
||||
|
||||
5
script/tmpfiles/cert_store.conf
Normal file
5
script/tmpfiles/cert_store.conf
Normal file
@@ -0,0 +1,5 @@
|
||||
#Type Path Mode User Group Age Argument
|
||||
d /var/log/certstore/ 0755 - - 7d -
|
||||
d /run/certstore/foreign_files 0755 - - - -
|
||||
L /opt/tsg/certstore/logs - - - - /var/log/certstore
|
||||
L /opt/tsg/certstore/foreign_files - - - - /run/certstore/foreign_files
|
||||
Reference in New Issue
Block a user