Ale*_*nik 7 bash daemon systemd
我有/etc/systemd/system/tivalue.service 以下内容:
[Unit]
Description=Ti-Value Node
After=network.target
[Service]
Type=simple
PIDFile=/var/run/tivalue.pid
User=root
Group=root
ExecStart=/root/TiValue/tiValue --rpcuser=admin --rpcpassword=123456 --httpdendpoint=127.0.0.1:8080 --daemon
KillSignal=15
Restart=always
[Install]
WantedBy=multi-user.target
Run Code Online (Sandbox Code Playgroud)
并且 /etc/systemd/system/tivalue.curl.sh
那么,如何/etc/systemd/system/tivalue.curl.sh在成功启动后执行tivalue.service呢?