mirror of
https://github.com/brunofontes/linuxShortcuts.git
synced 2024-11-24 03:07:48 +00:00
Bruno Fontes
3347cb35e6
The script removes an old version, copy the new service to the correct folder, run a daemon-reload and get a status about it.
5 lines
120 B
Bash
Executable File
5 lines
120 B
Bash
Executable File
doas rm /etc/systemd/system/$1
|
|
doas cp -f $1 /etc/systemd/system/
|
|
doas systemctl daemon-reload
|
|
doas systemctl status $1
|