# OsMsg
#
x86
mkdir -p /usr/local/osmsg
cd /usr/local/osmsg
wget http://singlecloud.cfsingle.fun/software/osmsg/x86/osmsg && chmod +x osmsg
1
2
3
2
3
vim /usr/lib/systemd/system/osmsg.service
1
[Unit]
Description=osmsg
[Service]
Type=forking
ExecStart=/usr/local/osmsg/osmsg
User=root
Restart=always
RestartSec=10
[Install]
WantedBy=multi-user.target
1
2
3
4
5
6
7
8
9
10
2
3
4
5
6
7
8
9
10
systemctl daemon-reload
1
systemctl start osmsg
1
systemctl enable osmsg
1