[root@aliyun-hk-3th-test-db01 ~]# cat /usr/lib/systemd/system/predixy.service [Unit] Description=predixy Documentation=https://github.com/joyieldInc/predixy Wants=network-online.target After=network-online.target [Service] PrivateTmp=true WorkingDirectory=/usr/local/predixy User=root Group=root ExecStart=/usr/local/predixy/bin/predixy /usr/local/predixy/conf/predixy.conf StandardOutput=journal StandardError=inherit [Install] WantedBy=multi-user.target