#/lib/systemd/system/andriodAlarmServer.service
|
[Unit]
|
Description=systemd service unit andriodAlarmServer
|
Documentation=http://startai.com
|
After=network.target rabbitmq-server.service
|
|
[Service]
|
Type=simple
|
ExecStart=/opt/androidAlarm/andriodServer
|
ExecStop=/bin/kill -s HUP $MAINPID
|
KillSignal=SIGQUIT
|
KillMode=process
|
PrivateTmp=true
|
|
[Install]
|
WantedBy=multi-user.target
|