发布 v1.1.0:加密双向同步、从机日志TTL与一键部署
This commit is contained in:
18
linux/slave-package/systemd/redis-clip-sync.service.tpl
Normal file
18
linux/slave-package/systemd/redis-clip-sync.service.tpl
Normal file
@@ -0,0 +1,18 @@
|
||||
[Unit]
|
||||
Description=Redis Clip Sync Service
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=__RUN_USER__
|
||||
Group=__RUN_GROUP__
|
||||
WorkingDirectory=__INSTALL_DIR__
|
||||
ExecStart=__INSTALL_DIR__/bin/start.sh __INSTALL_DIR__/conf/config.properties --foreground
|
||||
Restart=always
|
||||
RestartSec=3
|
||||
StandardOutput=journal
|
||||
StandardError=journal
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user