Systemd-logind

来自百合仙子's Wiki
跳转到导航 跳转到搜索

示例

允许用户在非登录期间运行服务:

loginctl enable-linger username

不指定 username 的话,使用当前用户。设置当前用户时不需要提权。