13 lines
209 B
Bash
Executable File
13 lines
209 B
Bash
Executable File
#!/bin/bash
|
|
|
|
mkdir -p /etc/m1s_ups/
|
|
|
|
cp kill.sh /etc/m1s_ups/
|
|
cp service.py /etc/m1s_ups/
|
|
cp m1s_ups.service /etc/systemd/system/
|
|
|
|
systemctl daemon-reload
|
|
|
|
systemctl enable --now m1s_ups
|
|
|
|
echo 'install sucess' |