Add install file
This commit is contained in:
parent
1a3a6d51b1
commit
96d653c8dc
1 changed files with 11 additions and 0 deletions
11
create-system-log-install.sh
Normal file
11
create-system-log-install.sh
Normal file
|
@ -0,0 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
wget -q "https://gitlab.codycook.us/readynas-scripts/create-system-log/-/raw/main/create-system-log.timer" -O /etc/systemd/system/create-system-log.timer
|
||||
wget -q "https://gitlab.codycook.us/readynas-scripts/create-system-log/-/raw/main/create-system-log.sh" -O /root/create-system-log.sh
|
||||
wget -q "https://gitlab.codycook.us/readynas-scripts/create-system-log/-/raw/main/create-system-log.service" -O /etc/systemd/system/create-system-log.service
|
||||
/bin/systemctl daemon-reload
|
||||
/bin/chmod +x /root/create-system-log.sh
|
||||
/bin/systemctl enable create-system-log.timer
|
||||
/bin/systemctl start create-system-log.timer
|
||||
/bin/systemctl start create-system-log.service
|
||||
/bin/echo "Installation concluded."
|
Loading…
Add table
Add a link
Reference in a new issue