linuxShortcuts/Services/installSystemService.sh

5 lines
120 B
Bash
Raw Permalink Normal View History

doas rm /etc/systemd/system/$1
doas cp -f $1 /etc/systemd/system/
doas systemctl daemon-reload
doas systemctl status $1