tcp server 用于给andriod 客户端定时发送消息
liuxiaolong
2021-04-07 dca59a803251cde0121af4e7ed7238808ca4bed0
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