updated structure for updates
This commit is contained in:
@ -4,21 +4,6 @@
|
||||
|
||||
systemd.services.Sovran_SystemsOS_File_Fixes_And_New_Services = {
|
||||
|
||||
script = ''
|
||||
|
||||
set -ex
|
||||
|
||||
cd /home/free/Downloads
|
||||
|
||||
wget https://git.sovransystems.com/Sovran_Systems/Sovran_SystemsOS_File_Fixes_And_New_Services.sh
|
||||
|
||||
bash /home/free/Downloads/Sovran_SystemsOS_File_Fixes_And_New_Services.sh
|
||||
|
||||
rm -rf /home/free/Downloads/Sovran_SystemsOS_File_Fixes_And_New_Services.sh
|
||||
|
||||
exit 0
|
||||
|
||||
'';
|
||||
|
||||
unitConfig = {
|
||||
After = "NetworkManager.service";
|
||||
@ -26,7 +11,9 @@
|
||||
};
|
||||
|
||||
serviceConfig = {
|
||||
ExecStart = "/run/current-system/sw/bin/wget https://git.sovransystems.com/Sovran_Systems/Sovran_SystemsOS/raw/branch/main/file_fixes_and_new_services/Sovran_SystemsOS_File_Fixes_And_New_Services.sh -O /home/free/Downloads/Sovran_SystemsOS_File_Fixes_And_New_Services.sh ; /run/current-system/sw/bin/bash /home/free/Downloads/Sovran_SystemsOS_File_Fixes_And_New_Services.sh";
|
||||
RemainAfterExit = "yes";
|
||||
User = "root";
|
||||
Type = "oneshot";
|
||||
};
|
||||
|
||||
@ -34,7 +21,4 @@
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user