Update src/killsw
This commit is contained in:
@@ -12,8 +12,11 @@ add_service_to_group() {
|
|||||||
if [[ ! -f "/etc/systemd/system/${group}.target" ]]; then
|
if [[ ! -f "/etc/systemd/system/${group}.target" ]]; then
|
||||||
sudo tee "/etc/systemd/system/${group}.target" > /dev/null <<EOF
|
sudo tee "/etc/systemd/system/${group}.target" > /dev/null <<EOF
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Group target $group
|
Description=Group 1 Target
|
||||||
PartOf=killswitch.target
|
PartOf=killswitch.target
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
EOF
|
EOF
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user