mirror of
https://github.com/actions/runner-images.git
synced 2025-12-11 03:27:05 +00:00
6 lines
132 B
Bash
6 lines
132 B
Bash
#!/bin/bash
|
|
|
|
# Enable user session on boot, not on login
|
|
UserId=$(cut -d: -f3 /etc/passwd | tail -1)
|
|
loginctl enable-linger $UserId
|