[Unit] Description=Monitor user sessions and lock screen on state change [Service] ExecStart=/usr/bin/session-monitor Restart=always [Install] WantedBy=multi-user.target