You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
577 B
17 lines
577 B
1 year ago
|
[Unit]
|
||
|
Description=OPENIM OPENIM CMDUTILS
|
||
|
Documentation=Utility toolkit for common OpenIM command-line operations.
|
||
|
Documentation=https://github.com/OpenIMSDK/Open-IM-Server/blob/main/deployment/init/README.md
|
||
|
|
||
|
[Service]
|
||
|
WorkingDirectory=${OPENIM_DATA_DIR}/openim-cmdutils
|
||
|
ExecStartPre=/usr/bin/mkdir -p ${OPENIM_DATA_DIR}/openim-cmdutils
|
||
|
ExecStartPre=/usr/bin/mkdir -p ${OPENIM_LOG_DIR}
|
||
|
ExecStart=${OPENIM_INSTALL_DIR}/bin/openim-cmdutils --config=${OPENIM_CONFIG_DIR}/openim-cmdutils.yaml
|
||
|
Restart=always
|
||
|
RestartSec=5
|
||
|
StartLimitInterval=0
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|