Just mask the service

This commit is contained in:
Gerald Pinder
2025-05-11 15:21:48 -04:00
parent 51233b7c6e
commit efbaa78d6f

View File

@@ -6,8 +6,7 @@ After=network.target
Type=oneshot Type=oneshot
ExecStart=/usr/libexec/rke2/create_rke_user.sh ExecStart=/usr/libexec/rke2/create_rke_user.sh
# Disable and mask the service after successful execution # Mask the service after successful execution
ExecStartPost=-/bin/systemctl disable create_rke_user.service
ExecStartPost=-/bin/systemctl mask create_rke_user.service ExecStartPost=-/bin/systemctl mask create_rke_user.service
[Install] [Install]