Fix service unit to use correct file names
This commit is contained in:
@@ -4,12 +4,12 @@ After=network.target
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
ExecStart=/usr/libexec/rke2/create-rke-user.sh
|
ExecStart=/usr/libexec/rke2/create_rke_user.sh
|
||||||
RemainAfterExit=yes
|
RemainAfterExit=yes
|
||||||
|
|
||||||
# Disable and mask the service after successful execution
|
# Disable and mask the service after successful execution
|
||||||
ExecStartPost=-/bin/systemctl disable --now create-rke-user.service
|
ExecStartPost=-/bin/systemctl disable --now create_rke_user.service
|
||||||
ExecStartPost=-/bin/systemctl mask --now create-rke-user.service
|
ExecStartPost=-/bin/systemctl mask --now create_rke_user.service
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|||||||
Reference in New Issue
Block a user