[Unit] Description=spring_cl After=network.target [Service] EnvironmentFile=/var/tmp/springboot/vhost/env/cl.env ExecStart=/bin/bash /var/tmp/springboot/vhost/scripts/cl.sh ExecStop=/usr/bin/pkill -9 "/bin/bash /var/tmp/springboot/vhost/scripts/cl.sh" WorkingDirectory=/www/cl/back Restart=no SyslogIdentifier=spring_cl User=www Type=forking PrivateTmp=false PIDFile=/var/tmp/springboot/vhost/pids/cl.pid [Install] WantedBy=multi-user.target