tcp server 用于给andriod 客户端定时发送消息
liuxiaolong
2021-04-07 a5e6ddc46a0306f630ac53a8e0e3843bf8c17a05
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#/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