mirror of
https://github.com/brunofontes/linuxShortcuts.git
synced 2024-11-23 21:20:50 +00:00
feat(systemd): add shortcut to add new service
The script removes an old version, copy the new service to the correct folder, run a daemon-reload and get a status about it.
This commit is contained in:
parent
b9ddb223e4
commit
3347cb35e6
4
Services/installSystemService.sh
Executable file
4
Services/installSystemService.sh
Executable file
@ -0,0 +1,4 @@
|
||||
doas rm /etc/systemd/system/$1
|
||||
doas cp -f $1 /etc/systemd/system/
|
||||
doas systemctl daemon-reload
|
||||
doas systemctl status $1
|
Loading…
Reference in New Issue
Block a user