1 2 3 4 5 6 7 8 9 10 11 12 13
[Unit] Description=SecoClientPromoteService daemon [Service] ExecStart=/usr/local/SecoClient/promote/SecoClientPromoteService.sh PIDFile=/var/run/SecoClientPromoteService.pid WorkingDirectory=/usr/local/SecoClient/promote Restart=always RestartSec=10 Type=forking [Install] WantedBy=multi-user.target